---
title: "some · RUAL Documentation"
description: "Tests whether at least one element in the array passes the test"
canonical: https://docs.rual.nl/block-types/array/array_some
language: en
---

# some

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 at least one element in the array passes the test

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

- condition `condition` Condition indicating whether at least one element passes the test.

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

Runs the wired callback per item (callback pins index and value), stopping as soon as a callback returns boolean true. The condition output is the LAST callback return value passed through as-is, so it can be a non-boolean; truthy values other than true do NOT stop the loop. Empty input, non-array input or no callback wired outputs false. Iterations whose callback errors are skipped.

A typical wiring for [some](https://docs.rual.nl/block-types/array/array_some): 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 some block: typical wiring for some.](https://docs.rual.nl/canvas-examples/array_some.png)

### Version history

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