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

    Function allNotFalse

    • Returns whether all the given elements are not false

      Parameters

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

        the elements to check

      Returns boolean

      whether all the given elements are not false

      David Hsing

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