wupengfei
8 天以前 660cbe1170869b549950a79fd9f4891650463773
1
2
3
export function isDef<T = unknown>(val?: T): val is T {
  return typeof val !== 'undefined';
}