Luna::List::size

usize size() const

Gets the size of the list, that is, the number of elements in the list.

Return value

Returns the size of the list.