%dw 2.0
output application/json
---
{ "myRange": 1 to 10 }to
to(from: Number, to: Number): Range
Returns a range with the specified boundaries.
The upper boundary is inclusive.
Parameters
| Name | Description | 
|---|---|
| 
 | 
 | 
| 
 | 
 | 
Returns a range with the specified boundaries.
The upper boundary is inclusive.
| Name | Description | 
|---|---|
| 
 | 
 | 
| 
 | 
 |