• Returns whether any of the elements in the given objects is empty

    Parameters

    • Optionalobjects: any[]

      the objects to check

    Returns boolean

    whether any of the elements in the given objects is empty

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