VariantMap
get() [VariantMap]
Get the value of an element in the map. This method is implemented in Variant
.
This method copies the value, which is inefficient for complex variant values. operator[] can be used to get a reference to the value instead of copying it.
If this variant is not a map, or the key does not exist, a null variant is returned.
// PROTOTYPES
Variant get(const char* key) const;
Variant get(const String& key) const;