some (value)
This block is part of the array group and was last modified in core v12.0.7.
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.
Field Selection Required
This block requires field selection (in). You must manually select the fields you want to work with using the field selector modal. To access the modal, click the white button on the block.
some (value) v12.0.7 tests whether at least one element in the array passes the test
- Array required
arrayThe input array to be tested.
- condition
conditionCondition indicating whether at least one element passes the test.
Outputs condition=true when at least one element equals the compare pin named after the selected type (value, number or condition). Equality is strict with no string/number coercion; numbers compare by value across integer and float, and objects or arrays compare by deep equality. An empty or non-array input, or any other selected type, outputs false.
A typical wiring for some (value): the condition out pin feeds branch.

Version history
Introduced in v12.0.7.
Back to
array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group
