fx-flow v0.7.0 / pipe/strict / isBoolean
Function: isBoolean()
isBoolean<
A
>(args
):args is Include<A, boolean>
Check whether args
is boolean.
Type parameters
• A
Parameters
• args: A
Returns
args is Include<A, boolean>
Example
typescript
isArray([1, 2, 3]); // false
isArray(false); // true