assertNotNull

open fun assertNotNull(message: String?, actual: Any?)(source)

Asserts that the specified value is not null.

Since Kotlin

1.0

Parameters

message

the message to report if the assertion fails.