then

fun <R> Boolean.then(call: () -> R): R?

Calls call only if the class is true.

Author

Arnau Mora

Since

20210819

Parameters

call

What to run if the class is true.