Join Slack
Communities
Powered by
is there an idiomatic way to return the result of ...
# announcements
t
tschuchort
02/10/2017, 2:05 PM
is there an idiomatic way to return the result of an assignment? what I want is something like
rs ?: run { rs = RenderScript.create(c) }
except that the right part would evaluate to
rs
Open in Slack
Previous
Next