Function isNull

  • Checks if a given value is null.

    Example

    isNull(null)
    // => true

    isNull(undefined)
    // => false

    isNull(10)
    // => false

    Type Parameters

    • T

      The type of the input value.

    Parameters

    • value: null | T

      The value to be checked.

    Returns value is null

    true if the value is undefined, false otherwise.

Generated using TypeDoc v0.24.7