Function isUndefined

  • It will determine whether the provided value is undefined or not.

    Parameters

    • value: unknown

    Returns value is undefined

    Since

    1.0.0

    Example

    isUndefined(undefined);
    // => true

    Example

    isUndefined(void 0);
    // => true

    Example

    isUndefined(null);
    // => false