isNull

inline fun <T : Any> isNull(inverse: Boolean = false): T

Checks if the value is null.

Parameters

inverse

checks if the value is not-null instead