@unikue/ts-lang-utils
    Preparing search index...

    Function allEmpty

    Utilities for object

    David Hsing

    • 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

      David Hsing

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