5.0.0-rc.0

some()

areNull().some()

Checks whether some of the provided values of areNull() are null.

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

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

Last updated