%dw 2.0
output application/json
---
{ "myRange": 1 to 10 }
to
to(Number, Number): Range
Returns a range with the specified boundaries.
The upper boundary is inclusive.
Parameters
Name | Description |
---|---|
|
A number ( |
|
A number ( |
This version of the product has entered Extended Support. You can switch to the latest version.
Returns a range with the specified boundaries.
The upper boundary is inclusive.
Name | Description |
---|---|
|
A number ( |
|
A number ( |