some()

areNull().some()

Checks whether some of the provided values of areNull() are nullarrow-up-right.

circle-info

The method uses some() method of areDeterminer().

Returns

The return value is a booleanarrow-up-right indicating whether some of the provided values of areNull() are nullarrow-up-right.

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, boolean

Last updated

Was this helpful?