• Returns whether any of the given elements is not false

    Parameters

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

      the elements to check

    Returns boolean

    whether any of the given elements is not false

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