• Returns whether the given object is null

    Parameters

    • object: any

      the object to check

    Returns boolean

    whether the given object is null

    isNull(null);    // true
    isNull({}); // false