• Checks if a value is undefined

    The opposite of isNotUndefined

    Example

    const result = isUndefined(undefined);
    console.log(result); // true

    Example

    const result = isUndefined(0);
    console.log(result); // false

    Returns

    true if value is undefined, otherwise false

    Parameters

    • value: unknown

      the value to check

    Returns value is undefined

Generated using TypeDoc