Loading

->LIST


lists conversion
Since v1.0.0
Available on all platforms
See also

The ->LIST function create a list from N elements on the stack. N and the N next elements on the stack are consumed.

If N is greater than current stack depth, the function raises an error.

Signature

Examples

'el1' true 42 'el4' 4 // Try 5 to raise an error ->LIST // Alternate syntax: [ 'el1' true 42 'el4' ]