List Slice
Pure read expression that returns a sliced copy of a list. from is inclusive. to is exclusive. If omitted:; from defaults to 0; to defaults to list.length. Bounds must satisfy 0 <= from <= to <= list.length.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
list | yes | expression | array | — |
from | no | expression | number | — |
to | no | expression | number | — |
Notes
- Pure read expression that returns a sliced copy of a list.
fromis inclusive.tois exclusive.- If omitted:
fromdefaults to0todefaults tolist.length
- Bounds must satisfy
0 <= from <= to <= list.length.