Hello everyone! is there a way to use Kotlin Preco...
# announcements
b
Hello everyone! is there a way to use Kotlin Preconditions checkNotNull() and have a smart cast for the checked variable?
🚔 1
h
Not yet. There is experimental work going on, so this might become a thing in the future: https://discuss.kotlinlang.org/t/status-of-kotlin-internal-contracts/6392
👍 1
b
Thank you very much!