it is better to cash the value for equality to wor...
# getting-started
v
it is better to cash the value for equality to work (and to avoid instance creation on every call)
Copy code
private val  _eu = Currency("€")
val Currency.Companion.EUR: Currency get() = -eu