Product SiteDocumentation Site

5.3.6.22. items


>>-items-------------------------------------------------------><

Returns the number of items in the collection.

Example 5.147. Array class - items method

a = .array~of("Fred", , "Mike", , "David")
say a~items  -- says: 3