length
Retrieves the length of a list.
length(xs:list) -> int
Description
Section titled “Description”The length
function returns the number of elements in the list xs
.
Examples
Section titled “Examples”Get the length of a list
Section titled “Get the length of a list”from {n: [1, 2, 3].length()}
{n: 3}