notIn

infix fun <T> KProperty<Collection<T>>.notIn(value: T): () -> Boolean(source)

Check if the value is not in the specified collection property.

Return

A lambda function that returns true if the condition is met, false otherwise.

Parameters

value

The value to check for non-existence in the collection.