assertPass

@SinceKotoolsAssert(version = "2.1")
fun <T> assertPass(block: () -> T): T

Asserts that the block function doesn't throw an error and returns its result.