Join Slack
Powered by
How do I access the IntRange instance from within ...
# getting-started
a
aviran
12/28/2019, 7:51 PM
How do I access the IntRange instance from within the ExposureSelector function>?
t
tpgillam
12/28/2019, 9:45 PM
Yes that's right. The IntRange instance - the receiver - will be 'this' in the context of the function. (See
https://kotlinlang.org/docs/reference/lambdas.html#function-literals-with-receiver
)
m
Matteo Mirk
12/29/2019, 8:59 AM
this
3
Views
Open in Slack
Previous
Next