I've never seen/used `!!` for that purpose. Using ...
# intellij
h
I've never seen/used
!!
for that purpose. Using an
exhaustive
val seems pretty common.
Copy code
val <T> T.exhaustive: T
    get() = this