Returns the maximum index that can be used for an array. ProducesDocumentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
NULL for NULL arrays.
Because Firebolt currently does not support array slices, the maximum index is always the length of the array.
This function is currently only implemented for the second parameter being 1.
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<array> | The array whose upper bound should be calculated | ARRAY |
<int> | The dimension to look at, for multi-dimensional arrays | INTEGER |
Return Type
INTEGER
Example
3
3