Open cloudfox2 opened 2 years ago
Like foo?.bar() in Kotlin and Swift. It's equal to:
foo?.bar()
if foo != null foo.bar()
And can we have a safe destroy too? I'm writing a lot these code when destory class elements:
if foo != null destory foo
Like
foo?.bar()
in Kotlin and Swift. It's equal to:And can we have a safe destroy too? I'm writing a lot these code when destory class elements: