Join Slack
Communities
Powered by
when using the shorter `fun` definition e.g. `fun ...
# getting-started
p
poohbar
12/10/2016, 3:26 PM
when using the shorter
fun
definition e.g.
fun myFun() = ???
, can I use it also for side effect functions? Such as
fun myFun() = save()
where
save()
returns void? Is it idiomatic Kotlin?
Open in Slack
Previous
Next