Collection

extends Map

Methods

<Collection>.array()

Creates an ordered array of the values of the Collection

<Collection>.clone()

Creates a copy of this Collection

<Collection>.first()

Obtain the first value in this Collection

<Collection>.firstKey()

Obtain the first key in this Collection

<Collection>.keyArray()

Makes an ordered array of the Keys of the Collection

<Collection>.last()

Obtain the last value of the Collection

<Collection>.lastKey()

Obtain the last key of this Collection

<Collection>.random()

Obtain random values from the Collection

<Collection>.randomKeys()

Obtain random Keys from the Collection

Last updated

Was this helpful?