Function isUndef

  • Checks if a value is undefined.

    Parameters

    • val: unknown

      The value to check.

    Returns val is undefined

    Returns true if the value is undefined, otherwise false.