Returns a slice of the array based on the indicated offset and length.Documentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<array> | The array of data to be sliced | ARRAY |
<start> | Indicates starting point of the array slice | INTEGER |
<length> | The length of the required slice | INTEGER |
Return Type
ARRAY of the same type as input array
Example
The following example slices thelevels array to a different length:
[1, 2, 3]