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

    Function allNotBlank

    • Returns whether all the given texts are not blank

      Parameters

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

        the texts to check

      Returns boolean

      whether all the given texts are not blank

      David Hsing

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