array contains one of array

This block is part of the condition group and was last modified in core v10.4.28.

array contains one of array v10.4.28

In pins 2
  • Search In required
    array
  • For required
    array
Out pins 1
  • condition
    condition

True when any element of array_0 strictly equals any element of array_1; false otherwise, including when either input is nil or empty. A scalar (non-array) input is treated as a one-element array. Strict equality: numbers by value, strings case-sensitive, no string/number coercion ("1" does not match 1); object or array elements never match.

includes
has

A typical wiring for array contains one of array: the condition out pin feeds OR.

Studio canvas example for the array contains one of array block: typical wiring for array contains one of array.

Commonly used with

In production blueprints, this block is most often wired together with:

  • OR: this block feeds into it. operator for a set of operands is true if and only if one or more of its operands is true.
  • execute: feeds into this block. Executes the given funcion and waits for it to be executed.
  • get fields: feeds into this block. Gets the selected fields from the given object.

Version history

Introduced in v10.4.28.


Back to condition Return to the main group to view all sub-groups Back to condition Return to the group to view all blocks within this group