Home > @jview/utils > isBool
isBool() function
是否是布尔类型
Signature:
typescript
export declare function isBool(val: unknown): val is boolean;
export declare function isBool(val: unknown): val is boolean;
Parameters
Parameter | Type | Description |
---|---|---|
val | unknown |
Returns:
val is boolean