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

    Parameters

    • Optionalobjects: any[]

      the objects to check

    Returns boolean

    whether all the elements in the given objects are not empty

    allNotEmpty([null, undefined]);    // false
    allNotEmpty([null, {}]); // false
    allNotEmpty(['foo', 'bar']); // true