List Length
The list::length function returns the number of elements in a list.
Syntax
list::length(<list>)Parameters
list: The input list whose length will be calculated.
Returns
- Number: The total number of elements in the list.
Example
list::length([1, 2, 3, 4, 5])This function is useful for determining the size of a list, especially in dynamic data processing scenarios.