noneOf

fun <Any> Any.noneOf(vararg these: Any): Boolean

Returns true if the receiver is not in the given objects.

For example 3.noneOf(1,4,5) == true and 3.noneOf(3,5,6) = false