Skip to content

Array List Contains — Reference

Reference · Advanced · Server Connect

Return whether a matching value exists.

Return whether a matching value exists.

  • A Server Connect action. Create the referenced Array List earlier in the same request before using it.

Return whether a matching value exists.

Setting Meaning
NameThe step name under which this lookup result is available to later server expressions.
Array ListChoose a Create Array List step available above this action. The stored reference is its name; it is not a database connection or a client-side component.
ValueThe value to find or remove. Use the same type as the values stored in the list.
OutputIncludes this named lookup result in the action response. The result can be used by later server steps without Output. Check the saved state: several lookup actions initialize Output on although their declared default is false.

For [“Notebook”,“Pencil”], Value Pencil returns true and Value Backpack returns false. Use the returned boolean in a Condition before a remove operation.

Node.js uses includes, while PHP uses non-strict in_array. Numeric strings, booleans and object values can therefore behave differently across server models. Prefer primitive values with consistent types.

Use a Get Array List Value step when you need to expose the final list after mutations. Use a database or server session when the data must persist beyond this request.

You can configure this operation and verify the example’s resulting value or list.