get

open operator override fun <V : T> get(key: Property.Key<V>): V?

Retrieves a property from the container by its key.

Return

the property associated with the key, if any

Parameters

key

the key of the property to retrieve

V

the type of the property, subtype of T