assert
/
kotools.assert
/
assertTrue
common
assert
True
@
SinceKotoolsAssert
(
version =
"2.1"
)
fun
Boolean
.
assertTrue
()
Content copied to clipboard
Asserts that this value is
true
.
@
SinceKotoolsAssert
(
version =
"2.1"
)
inline fun
assertTrue
(block: () ->
Boolean
)
Content copied to clipboard
Asserts that the result of calling the
block
function is
true
.