Property
A property is an atom that represents a value associated with a key, similar to a map entry.
Example implementation:
data class MyProperty(override val value: X) : Property<X> {
companion object : Property.Key<X>
override val key = MyProperty
}
Content copied to clipboard
Parameters
T
the type of the value associated with the key