Skip to main content

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

InputTypeDescriptionDefault
ListListThe list of values to search-
ValueAnyThe value to check for in the list-

Outputs

OutputTypeDescription
OutputBooleantrue 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.