some()

areFalse().some()

Checks whether some of the provided values of areFalse() are a booleanarrow-up-right type or an instance of Booleanarrow-up-right equal to false.

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 areFalse() are a booleanarrow-up-right type or an instance of Booleanarrow-up-right equal to false.

Example usage

// Example usage.
import { areFalse } from '@angular-package/type';

areFalse(true, null, false, new Boolean(false)).some((result, value, payload) => {
  result // true
  value // [ true, null, false, Boolean ]
  payload // undefined
  return result;
}); // true, boolean

Last updated