some()
areNull().some()
areNull().some()Checks whether some of the provided values of areNull() are null.
Returns
The return value is a boolean indicating whether some of the provided values of areNull() are null.
Example usage
// Example usage.
import { areNull } from '@angular-package/type';
areNull(true, null, false, new Boolean(false)).some((result, value, payload) => {
result // true
value // [ null, undefined, false, false ]
payload // undefined
return result;
}); // true, booleanLast updated
Was this helpful?