none
Checks if the provided predicate function returns false
for all elements in a collection.
- Use
Array.prototype.some()
to test if any elements in the collection returntrue
based onfn
. - Omit the second argument,
fn
, to useBoolean
as a default.