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

    Function allNotTrue

    • Returns whether all the given elements are not true

      Parameters

      • Optionalvalues: (undefined | null | string | number | boolean)[]

        the elements to check

      Returns boolean

      whether all the given elements are not true

      David Hsing

      allNotTrue([null, undefined]);    // true
      allNotTrue([null, true]); // false
      allNotTrue([null, false]); // true