• Asserts that a value is not undefined or null.

    Type Parameters

    • T

      The type of the value to check.

    Parameters

    • value: T

      The value to check.

    Returns asserts value is NonNullable<T>

    Asserts that the value is not undefined or null.

    If the value is undefined or null.