• typeof "null" alias. This "patches" typeof so null is not "object" but "null" instead (rejected proposal for lack of backwards compatibility, more details here).

    Example

    isNull(null); // true
    isNull(undefined); // false

    Parameters

    • input: unknown

    Returns input is null

    true if the given value is a null, false otherwise.