wupengfei
2025-09-23 42ff9c53a3db88eb0b311767d45452be27a5d544
1
2
3
export function isDef<T = unknown>(val?: T): val is T {
  return typeof val !== 'undefined';
}