Function isDefined

  • This function checks if a value is defined or not. It performs a strict comparison against undefined.

    Type Parameters

    • T

      The type of the value to check.

    Parameters

    • value: undefined | T

      The value to check if it is defined.

    Returns value is T

    A type guard indicating whether the value is defined.

Generated using TypeDoc