every()
areFalse().every()
areFalse().every()
Checks whether every provided value of rest parameter values
of the areFalse()
function is a boolean
type or an instance of Boolean
equal to false.
Returns
The return value is a boolean
indicating whether the provided values of areFalse()
are a boolean
type or an instance of Boolean
equal to false
.
Example usage
// Example usage.
import { areFalse } from '@angular-package/type';
areFalse(true, null, false, new Boolean(false)).every((result, value, payload) => {
result // false
value // [ true, null, false, Boolean ]
payload // undefined
return result;
}); // false, boolean
Last updated
Was this helpful?