> For the complete documentation index, see [llms.txt](https://type.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://type.angular-package.dev/type-draft/are/arefalse/foreach.md).

# forEach()

## `areFalse().forEach()`

The `forEach()` method executes a provided [`callback`](/type-draft/are/aredeterminer/foreach.md#foreachcallback-foreachcallback-less-than-any-payload-greater-than) function **once** for each element of the supplied [`values`](https://type.angular-package.dev/type-draft/are/arefalse/pages/c3qyq9FppmyHV58VeTFx#...values-any) of [`areFalse()`](/type-draft/are/arefalse.md).

{% hint style="info" %}
The method uses [`forEach()`](/type-draft/are/aredeterminer/foreach.md) method of [`areDeterminer()`](/type-draft/are/aredeterminer.md).
{% endhint %}

## Example usage

```typescript
// 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 }
);
```
