Maps keys to values, no fancy magic.
Method
Parameters
Return type
Is fixed?
put
any, any
null
❌
get
any
index
with map from std:collections let pets = map() pets.put("Joe", "Dog") pets.get("Joe") // is equivalent to pets["Joe"] = "Dog" pets["Joe"]
Last updated 4 years ago