Map

Method
Return type
Description

Map.get(key:Generic)

Generic

Returns the value by the given key.

Map.set(key:Generic, value:Generic)

None

Set's the value to the specified key.

Map.remove(key:Generic)

None

Removes the key from the map.

Map.clear()

None

Clears all the Map entries.

Map.count()

Number

Returns the number of entries in the Map.

Map.has(key:Generic)

Bool

Returns if the key exists in the Map.

Last updated