Product SiteDocumentation Site

5.3.6.14. empty


>>-empty-------------------------------------------------------><

Removes all items from the array.

Example 5.138. Array class - empty method

a = .array~of("Mike", "Rick", "Fred", "Rick")
a~empty    -- a~items now returns "0"