isNull

function isNull(val): val is null

Returns true if the specified value is null.

Parameters

ParameterTypeDescription
valunknownVariable to test.

Returns

val is null

Whether variable is null.