doc / ch.tutteli.atrium / isNotNull

isNotNull

inline fun <reified T : Any> IAssertionPlantNullable<T?>.isNotNull(): IAssertionPlant<T> (source)

Makes the assertion that IAssertionPlant.subject is not null.

Return
This plant to support a fluent-style API.

inline fun <reified T : Any> IAssertionPlantNullable<T?>.isNotNull(noinline createAssertions: IAssertionPlant<T>.() -> Unit): IAssertionPlant<T> (source)

Makes the assertion that IAssertionPlant.subject is not null and if so, uses createAssertions which could create further assertions which are lazily evaluated at the end.

Return
This plant to support a fluent-style API.