list_range
Generates a range of numbers.
Example
1
{{ 1 | list_range: 10 }} => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Input
Type | Parameter | Description | Required |
---|---|---|---|
int | to | The end of the range. Comes before the | sign. | Required |
int | from | The start of the range, defaults to 1 |
Output
Type | Description |
---|---|
array | The range of numbers |