isNotNull

fun <T> T?.isNotNull(): Boolean

Checking none nullability.

Example:

val num: Int? = null
num.isNotNull() // false

val num2 = 1
num2.isNotNull() // true

Since

1.1.0

Return

Boolean