• Returns whether all the elements in the given objects are empty

    Parameters

    • Optionalobjects: any[]

      the objects to check

    Returns boolean

    whether all the elements in the given objects are empty

    allEmpty([null, undefined]);    // true
    allEmpty([null, {}]); // true