• Returns whether any of the given elements is not true

    Parameters

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

      the elements to check

    Returns boolean

    whether any of the given elements is not true

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