assert
/
kotools.assert
/
assertPass
jvm
assert
Pass
@
SinceKotoolsAssert
(
version =
"2.1"
)
fun <
T
>
assertPass
(block: () ->
T
):
T
Content copied to clipboard
Asserts that the
block
function doesn't throw an error and returns its result.