Skip to content

Home > @jview/utils > isNull

isNull() function

是否是 null 类型

Signature:

typescript
export declare function isNull(val: unknown): val is null;
export declare function isNull(val: unknown): val is null;

Parameters

ParameterTypeDescription
valunknown

Returns:

val is null