A collection of key-value pairs that is stored as a hash for easy lookup but also provides an array for fast iteration.
Online Documentation
Gets the number of items in the collection.
Gets an unordered array of all values in the collection. This is a live array that will automatically reflect the values in the collection, it should not be modified directly.
Determines if the provided key is in the array.
Retrieves the value associated with the provided key.
Removes a key-value pair from the collection.
Clears the collection.
Associates the provided key with the provided value. If the key already exists, it is overwritten with the new value.