Using `as?` with `!!` doesn't make much sense to m...
# getting-started
h
Using
as?
with
!!
doesn't make much sense to me. You are "safe-casting" which will produce
null
if the cast fails rather than throwing an exception. I'd probably change it to
as
, and let the exception tell you why the cast is failing.