probably already know this but you can use the sam...
# getting-started
d
probably already know this but you can use the same variable name in your local scope, so like
val x = x ?: return
(assuming you don’t need to do anything if x is indeed null)