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

    Function allNotEmpty

    • Returns whether all the given texts are not empty

      Parameters

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

        The texts to check

      Returns boolean

      whether all the given texts are not empty

      David Hsing

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