Read Me - Common Public License V1.0 - Copyright Notice(©)

last


>>-last--------------------------------------------------------><

Returns the index of the last item in the array or the Nil object if the array is empty. For multi-dimension arrays, index is returned as an array of index items.

Array class - last method

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

Read Me - Common Public License V1.0 - Copyright Notice(©)