Skip to content

length

Retrieves the length of a list.

length(xs:list) -> int

The length function returns the number of elements in the list xs.

from {n: [1, 2, 3].length()}
{n: 3}

length_bytes, length_chars