• 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

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