Function isSet

  • Determine if a value is set. If it is undefined or null, this function returns false.

    Type Parameters

    • T

    Parameters

    • value: undefined | null | T

      the value for which to determine if it is set

    Returns value is T