Return the number of elements in the sequence
s. Raise an error if
s is not a valid sequence or if
is an infinite sequence.
Count is a generic function recognized by the language. A user-defined object can respond to the
'count message and start behaving like a sequence. (See the documentation on
first for an example).
count([\a, \e, \i, \o, \u]) // 5
Core Module Index | Contents