you can use just `null` (instead of `is null`): ``...
# getting-started
d
you can use just
null
(instead of
is null
):
Copy code
val sumValue: Any? = null
    when (sumValue) {
        is Int -> "foo"
        null -> "bar" // Ok
        else -> throw UnsupportedOperationException()
    }