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

    Function anyEmpty

    • Returns whether any of the given texts is empty

      Parameters

      • Optionaltexts: (undefined | null | string)[]

        the texts to check

      Returns boolean

      whether any of the given texts is empty

      David Hsing

      anyEmpty([null, undefined]);    // true
      anyEmpty(['foo', 'bar']); // false