Home > @jview/utils > isUndefOrNull
isUndefOrNull() function
是否是 undefined 或 null 类型
Signature:
typescript
export declare function isUndefOrNull(val: unknown): val is undefined | null;
export declare function isUndefOrNull(val: unknown): val is undefined | null;
Parameters
Parameter | Type | Description |
---|---|---|
val | unknown |
Returns:
val is undefined | null