ListValue › slice
Unofficial
Returns a shallow slice of the list.
Signature:
slice(start?: number, end?: number): ListValue
Parameters:
| Parameter | Type | Description |
|---|
| start? | number | The start index. |
| end? | number | The end index (exclusive). |
Returns: ListValue — The sliced list.