List contains
What this tool does
This tool checks whether a specific value is included in a provided list of items. It helps you verify if a single item exists within a set of options by returning a clear yes or no answer. This is useful for simple validation tasks where you need to confirm membership in a predefined group.
When to use it
- Checking if a specific product ID is available in a list of active items.
- Verifying if a user's role appears in a list of allowed administrators.
- Confirming if a country code is present in a list of supported regions.
What to expect
You will receive a yes or no indicator telling you if the text value you provided is found within the list of items.
Limitations
- The check is based on exact matches, so spaces or capitalization differences may affect the result.
- The tool only checks for the presence of the value and does not provide partial matches or fuzzy matching.
Good to know
- Ensure your list is entered correctly with items separated by commas, and the text value matches exactly what you expect to find.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
list | Yes | 1,2,3 | Type the list of items separated by commas, such as 'apple,banana,cherry'. This is required. |
text | Yes | 2 | Type the specific item you want to find in the list, such as 'banana'. This is required. |
Output data
| Field | Description |
|---|---|
result | Returns true if the item is found in the list, or false if it is not. For example, true if you are looking for 'banana' in 'apple,banana'. |