Join Slack
Powered by
Hello everyone! is there a way to use Kotlin Preco...
# announcements
b
brescia123
03/21/2018, 10:41 AM
Hello everyone! is there a way to use Kotlin Preconditions checkNotNull() and have a smart cast for the checked variable?
🚔 1
h
hho
03/21/2018, 10:43 AM
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
brescia123
03/21/2018, 10:44 AM
Thank you very much!
3
Views
Open in Slack
Previous
Next