Function isUndefined

  • Checks if value is undefined.

    Parameters

    • value: any

      The value to check.

    Returns value is undefined

    Returns true if value is undefined, else false.

    5.6.0

    isUndefined(void 0)
    // => true

    isUndefined(null)
    // => false