get
Method of Map.
Overloads
| Name | Description |
|---|---|
get(const string key, const Object default_value) -> Object | Accesses an element in the map by key. Return default if the key is not found. |
get(const string key) -> Object | Accesses an element in the map by key. Return null if the key is not found. |
get(const string key, const Object default_value) -> Object
Accesses an element in the map by key. Return default if the key is not found.
Parameters
- key: The key of the element to access.
- default_value: The default value to return if the key is not found
get(const string key) -> Object
Accesses an element in the map by key. Return null if the key is not found.
Parameters
- key: The key of the element to access.