katlib
2.2.1
katlib
/
dev.forst.katlib
/
whenTrue
when
True
inline
fun
Boolean
.
whenTrue
(
block
:
(
)
->
Unit
)
:
Boolean
Content copied to clipboard
Executes
block
iff this (result of previous method) is true. Returns given Boolean.
Sources
Katlib source
Link copied to clipboard