generateSeries

Generates a numeric series for query and iteration work.

Target type

Signature

1generateSeries(from, to, by=1)

Generates a numeric series for query and iteration work.

generateSeries constructs or identifies a LaiRu value type. generateSeries affects how expressions are parsed. Small examples are worth running in isolation before placing the same shape inside a larger template block.

Parameters

from
Required value. Supply from positionally unless the signature shows a keyword form.
to
Required value. Supply to positionally unless the signature shows a keyword form.
by
Optional value. Supply by positionally unless the signature shows a keyword form.

Examples

Basic call

1generateSeries(1, 5)->join(',')
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.