Skip to content

Array contains

Input
value
Validate that value contains 'beta'
validation:
arrayContains

Ensure array field contains specified value

source:value
parameters
value

Value that the array must contain

Output
result
Pass
Pass
Pass
Array field "value" does not contain "beta"
Array field "value" does not contain "beta"
Array field "value" does not contain "beta"

Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.

Ensure array field contains specified value.

Parameters

  • value (string, optional) — Value that the array must contain. Default: "".

Field selection

  • source — Field whose values this operation reads. Omit to apply to all fields on the row.
  • target — Optional output field. When omitted, the source field is updated in place.

JSON Configuration

{
"id": "op-arrayContains",
"type": "validation",
"action": "arrayContains",
"params": {
"value": "beta"
},
"testInputs": [
"[\"alpha\",\"beta\"]",
"[\"beta\",\"gamma\"]",
"[\"x\",\"beta\",\"y\"]",
"[\"gamma\"]",
"[\"delta\"]",
"[]"
]
}