when you use `as?` that will effectively wrap it i...
# getting-started
t
when you use
as?
that will effectively wrap it in a try catch and return null if the cast fails
o
That’s incorrect, it is equivalent to
if (a is X) a else null
a
Oooh that's even better.
t
clarification much appreciated. I have never looked at the output bytecode