Function isDefinedValue

  • Checks if the provided value is defined (i.e., not undefined or null).

    Type Parameters

    • T

      The type of the value to check.

    Parameters

    • value: undefined | null | T

      The value to check. Can be of any type T, undefined, or null.

    Returns value is NonNullable<T>

    A type guard indicating whether the value is of type T (i.e., not undefined or null).

Generated using TypeDoc