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