Skip to main content

List: Contains

Test whether an input list contains a particular value. The needle can be supplied either statically via the Value parameter or dynamically via the value input connector. The connector wins when both are set. Equality is structural — same value type and content.

Example
Value: 3
Input: [1, 2, 3, 4]
Output: true

Value: 99
Input: [1, 2, 3, 4]
Output: false

Parameters​

Value

Static fallback needle used when the value input connector is not wired or arrives empty. When unset and no input is provided, the step fails.

Input​

Arrayrequired

List to search (Array or JSON array).

Value

Needle to look for. Overrides the Value parameter when wired.

Output​

Result

true if the needle is present, false otherwise.