Join Slack
Powered by
I notcied that, in Lazy.kt from the standard libra...
# announcements
s
salomonbrys
10/09/2015, 9:59 AM
I notcied that, in Lazy.kt from the standard library, there's the following function
public fun <T> Lazy<T>.get(thisRef: Any?, property: PropertyMetadata): T = value
to make Lazy usable as a property delegate. Why is that an extension function and not a method in Lazy ?
Open in Slack
Previous
Next