5.0.0-rc.0

forEach()

areFalse().forEach()

The forEach() method executes a provided callback function once for each element of the supplied values of areFalse().

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

Example usage

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

areFalse(true, null, false, new Boolean(false)).forEach(
  (result, value, index, array, payload) => {
    result // false, false, true, true
    value // true, null, false, Boolean
    index // 0, 1, 2, 3
    array // [ true, null, false, Boolean ]
    payload // { age: 2 }
  },
  { age: 2 }
);

Last updated