Skip to content

fx-flow v0.7.0 / pipe/strict / isUndefined

Function: isUndefined()

isUndefined<A>(args): args is Include&lt;A, undefined&gt;

Check whether args is undefined.

Type parameters

A

Parameters

args: A

Returns

args is Include&lt;A, undefined&gt;

Example

typescript
isArray([1, 2, 3]); // false
isArray(undefined); // true
isArray(null); // false

More examples

Source

packages/core/src/pipe/strict/isUndefined.ts:15

Released under the MIT License.