Maps are collections of key-value pairs. Keys are identifiers, values can be of any type.
Copyright © 2016 Mobilengine Corp. All rights reserved. version: 7.0.4.19927
Maps are collections of key-value pairs. Keys are identifiers, values can be of any type.
Parameter | Description |
---|---|
key (required) | The identifier of the associated value. |
value (required) | Expression that evaluates to any data type. |
Remarks
Values do not need to be of the same type. {foo:1, bar:"2", baz:3.00}
is a valid
map object literal.
Values of a map object are accessible not only using the map.GetAt()
method, but
via the dot operator as
well as the index operator.
Using the index operator and the map.GetAt() method, but not the dot operator, you can access values in a map object with dynamically built keys.
Members
Determines whether a map has a value associated with a given key.
Returns the value in a map that is associated with a specific key.
Sets the value that is associated with a specific key in a map object.