• Returns whether the given object is undefined

    Parameters

    • object: any

      the object to check

    Returns boolean

    whether the given object is undefined

    isUndefined(undefined);    // true
    isUndefined({}); // false