Main Content

Map Containers

Objects with keys that index to values, where keys need not be integers

Store data values in a Map object, which is a data structure that associates each value with a corresponding key. A Map object is similar to a dictionary or associative array in that you can use keys to retrieve values from it. Keys can be numbers or text, providing more flexibility for data access than array indices.

Fonctions

containers.MapObject that maps unique keys to values
isKeyDetermine if Map object contains key
keysReturn keys of Map object
removeDelete key-value pairs from Map object
valuesReturn values of Map object

Rubriques