Function isNull

  • It will determine whether the provided value is null or not.

    Parameters

    • value: unknown

    Returns value is null

    Since

    1.0.0

    Example

    isNull(null);
    // => true

    Example

    isNull(undefined);
    // => false

    Example

    isNull(void 0);
    // => false