assertNotNull
Asserts that the actual value is not null
, with an optional message.
Since Kotlin
1.1Asserts that the actual value is not null
, with an optional message and a function block to process the not-null value.
Since Kotlin
1.1Asserts that the actual value is not null
, with an optional message.
Since Kotlin
1.0Asserts that the actual value is not null
, with an optional message and a function block to process the not-null value.