464 B
464 B
title | description | menu | weight | ||||||
---|---|---|---|---|---|---|---|---|---|
length() function | The `length()` function returns the number of items in an array. |
|
401 |
The length()
function returns the number of items in an array.
Function type: Miscellaneous
length(arr: [])
Parameters
arr
The array to evaluate.
Examples
people = ["John", "Jane", "Abed"]
length(arr: people)
// Returns 3