isBoolean
Identifies if a value is a boolean.
Type Definitions
ts
/**
* @param val - The value.
* @returns If the value is a boolean.
*/
export declare function isBoolean(val: unknown): val is boolean
1
2
3
4
5
2
3
4
5