containsValue

fun <T> Field<*, T>.containsValue(value: T): Boolean

Checks whether the given value is present in the field, including the local value. . This function returns true if value is equal to the local value or is contained in the values of the neighboring entries.

Return

true if value is present in the field, false otherwise.

Parameters

value

the value to look for.