int
length (
list
(
α
)
 
l)
Compute the length of a list.Performance note: if you only need to check whether a list is empty, you should rather useList.is_empty, which is much faster than List.length, in particular when your list is stored in
the database.
returns
The number of elements in the list, which is 0 if the list is {nil} or a strictly
positive number otherwise..

Comments

The browser you use is not supported by this application, probably because it lacks some critical features.
For a better experience, please consider using this application with a supported browser.