oneOf

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

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

For example "blue".oneOf("red", "green") == false and 3.oneOf(3,5,6) == true