Join Slack
Powered by
using an if check as <@U0B8ZP13Q> shows is defini...
# announcements
b
bj0
01/23/2017, 9:43 PM
using an if check as
@cedric
shows is definitely the most readable. but you can do something like
val timer = map.get(id)?.let( if( it.finished ) null else it ) ?: MyClass.create()
Open in Slack
Previous
Next