Thank you.
# announcements
n
Thank you.
👍 1
p
and there is a short syntax you can use:
val isReadOnly get() = observation != null && observation!!.submitted
👍 1
also you can write
observation?.submitted == true
or
observation?.submitted ?: false
if you like 🙂
n
Of course I like, a lot cleaner! Thanks
g
Option
== true
is recommended by official style guide
👍 1
👆 2