List Range
The list::range
function generates a list of numbers starting from a specified value, ending at another value, and incrementing by a step value.
Syntax
list::range(<start>, <end>, <step>)
Parameters
start
: The starting value of the range (inclusive).end
: The ending value of the range (exclusive).step
: The increment value (must be a non-zero number).
Returns
- List: A list of numbers within the specified range.
Example
list::range(1, 10, 2)
This function is useful for generating sequential data or iterating over numeric ranges dynamically.