Or maybe it can return boolean and have extenstion...
# stdlib
y
Or maybe it can return boolean and have extenstion method:
Copy code
Boolean.else(func: () -> Unit) { if (!this) func() }