Variable: isNil

const isNil: (val) => val is null = isNull

Checks if the given value is null.

Parameters

val

unknown

The value to check.

Returns

val is null

Returns true if the value is null, false otherwise.