array_length()
Calculates the number of elements in a dynamic array.
Syntax
array_length(
array)
Arguments
- array: A
dynamic
value.
Returns
The number of elements in array, or null
if array is not an array.
Examples
print arr=dynamic(["this", "is", "an", "example"])
| project Result=array_length(arr)
Results
Result |
---|
4 |