Returns true if none of the elements in the array satisfy the predicate function.
none((x: number) => x > 2)([1, 2, 3]) // falsenone((x: number) => x > 2)([1, 2]) // truenone((x: number) => x > 2)([]) // true Copy
none((x: number) => x > 2)([1, 2, 3]) // falsenone((x: number) => x > 2)([1, 2]) // truenone((x: number) => x > 2)([]) // true
Returns true if none of the elements in the array satisfy the predicate function.
Example