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

    Function anyNotEmpty

    • Returns whether any of the given texts is not empty

      Parameters

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

        the texts to check

      Returns boolean

      whether any of the given texts is not empty

      David Hsing

      anyNotEmpty([null, undefined]);    // false
      anyNotEmpty([null, 'world']); // true