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

    Function allNotFalse

    • Returns whether all the given elements are not false

      Parameters

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

        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