length


length(xs)
      

Return the number of elements in the list xs.

Examples:


length([])
// 0
length([\a, 23, \c])
// 3
      

Also see:

count
array_length
string_length


Core Module Index | Contents