represents a key used to access a value in an association.
extracts the value corresponding to key in the association assoc.
Basic Examples (4)
The Key wrapper is not necessary when the key is a string:
The explicit Key can be omitted when the keys in an association are strings:
Use Extract to extract the values: