[ , ]

Description

To create a list of things, use [,]. Place all single values to include in the list in between the square brackets and separate each with a comma.
All operators that work on lists can then perform actions on the newly created list.

Examples

["First", "Second", "Third"]
This simply creates a list of the three strings First, Second and Third.
If you want to have a field storing if somebody is from Germany, Austria or Switzerland, you could write:
p is Person
p.nationality contains any ['de', 'at', 'ch']
Last modified 2mo ago
Copy link