(rontolisp) docs
← cl Package Functions

length

(length sequence)

Returns the number of elements in a sequence. It works on lists, strings, and rank-1 vectors; (length nil) is 0. A rank-2 array is not a sequence, so calling length on one signals an error; any other non-sequence (a number, a symbol, a hash table) and a dotted list signal a type-error.