The Map object creates a table that can be accessed by a key to receive or input a value.
Return | Params | Description |
---|---|---|
Any | index(Any key) |
Returns a mutable value assigned to a given key. |
Array | getKeys()) |
Returns an array of the Map's keys. |
Array | getValues() |
Returns an array of the Map's values. |
Number | containsKey(Any key) |
Returns 1 if the Map contains the given key, otherwise returns 0. |
Number | containsValue(Any value) |
Returns 1 if the Map contains the given value, otherwise returns 0. |
Array | iterator() |
Returns an array of the Map's data. |
Number | size() |
Returns the current size of the Map. |
String | string() |
Returns a string representation of the Map. |
Number | equals(Object:Map m) |
Returns 1 if the two maps are equivalent in values, otherwise 0. |