---
title: "every · RUAL Documentation"
description: "Tests whether all elements in the array pass the test"
canonical: https://docs.rual.nl/block-types/array/array_every
language: en
---

# every

This block is part of the [`array`](https://docs.rual.nl/block-types/array) group and was last modified in core [`v12.0.7`](https://docs.rual.nl/core-versions/120007).

### Type Selection Required

This block requires you to select the data type you want to work with. You must manually select the type using the type selector modal. To access the modal, click the white button on the block.

Tests whether all elements in the array pass the test

- Array required `array` The input array to be tested.

- condition `condition` Condition indicating whether all elements pass the test.

- Iterator `execute_function` The function to test each element in the array.

Runs the iterator callback per item (index, value) and outputs the callback's return on condition, stopping early only when a return is strict boolean false. The final output is the LAST callback return and may be a non-boolean value, not a forced true. Outputs true for an empty array; outputs false for a missing or non-array input, when no callback function is wired, or when a callback errors.

A typical wiring for [every](https://docs.rual.nl/block-types/array/array_every): the function out pin wires to an [execute](https://docs.rual.nl/block-types/function%20execution/function_custom_execute_from_trigger) block.

![Studio canvas example for the every block: typical wiring for every.](https://docs.rual.nl/canvas-examples/array_every.png)

### Version history

Introduced in [`v12.0.7`](https://docs.rual.nl/core-versions/120007).
