Skip to content

isNull

Checks whether a value is null.

Import:

import { isNull } from '@mnaoumov/typescript-lib/type-guards';

Signature:

function isNull(value: unknown): boolean

Parameters:

Parameter Type Description
value unknown The value to check.

Returns: boolean — Whether the value is null.