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

    Function allEmpty

    • Returns whether all the given texts are empty

      Parameters

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

        the texts to check

      Returns boolean

      whether all the given texts are empty

      David Hsing

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