• Returns whether all the given elements are false

    Parameters

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

      the elements to check

    Returns boolean

    whether all the given elements are false

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