assert
/
kotools.assert
/
assertNull
common
assert
Null
@
SinceKotoolsAssert
(
version =
"2.1"
)
fun <
T
>
T
?.
assertNull
()
Content copied to clipboard
Asserts that this value is
null
.
@
SinceKotoolsAssert
(
version =
"2.1"
)
inline fun <
T
>
assertNull
(block: () ->
T
?)
Content copied to clipboard
Asserts that the result of calling the
block
function is
null
.