• Checks if the provided value is undefined.

    Example

    const result1 = isUndefined(undefined); // true
    const result2 = isUndefined(null); // false
    const result3 = isUndefined(123); // false
    const result4 = isUndefined('Hello'); // false

    Parameters

    • value: any

      The value to check.

    Returns value is undefined