$$range
Creates an array with a sequence of numbers starting with start
up-to end
in steps of step
Usage​
"$$range(<start>,<end>,[step])"
Returns​
number[]
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
start | number | Yes | First value | |
end | number | Yes | Max value to appear in sequence | |
step | number | 1 | Step to add on each iteration to the previous value in the sequence |
Examples​
Input
Definition
Output
"$$range(1,3)"
[1,2,3]
"$$range(2,6,2)"
[2,4,6]
"$$range(2,5,2)"
[2,4]