Join Slack
Powered by
when I have ``` fun util(): Pair<Int,String>...
# announcements
d
dimsuz
09/17/2016, 10:28 AM
when I have
Copy code
fun util(): Pair<Int,String> { ... } val (foo, bar) = util()
and I do not need to use
bar
, can I tell compiler I don't care about it? I tried
val (foo, _)
, but it doesn't work.
9
Views
Open in Slack
Previous
Next