Would the contracts allow us to do something with ...
# eap
b
Would the contracts allow us to do something with the requireNotNull so that if it’s not null, you continue and can use that variable safely otherwise return from that function? Would be much better than
Copy code
fun s(value: Boolean?) {
        val x: Boolean = value ?: return
        // Do stuff
    }