List Includes
Uncontrolled node
Overview
The List Includes node checks whether a specific value exists in a list and returns true if the value is found, or false if it is not.
This node is helpful for validation, conditional flows, and decision-making, especially when you want to branch logic based on whether a value is present.
Inputs
Input | Type | Description | Default |
---|---|---|---|
List | List | The list of values to search | - |
Value | Any | The value to check for in the list | - |
Outputs
Output | Type | Description |
---|---|---|
Output | Boolean | true if the value exists in the list, otherwise false |
Panel Controls
This node does not require any configuration in the side panel. Simply connect the list and the value you want to check.
Example: Check for Text
If your list is:
["apple", "banana", "cherry"]
and the value is:
"banana"
The output will be:
true
If the value is:
"grape"
The output will be:
false
Tip
This node works with lists of any type: text, numbers, or booleans. Just make sure the value matches the type used in the list.