using an if check as <@U0B8ZP13Q> shows is defini...
# announcements
b
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()