Language Features

Lists

To work with lists, you have 2 options:

Use square brackets to create a list:

Object result = expression.Evaluator.run('[1, 2, 3]'); // (1, 2, 3)

or use the LIST function and pass as many arguments as you want:

Object result = expression.Evaluator.run('LIST(1, 2, 3)'); // (1, 2, 3)
Previous
Configuring the evaluation
Next
Maps