contains

fun contains(entity: T, value: R): Boolean

Returns whether relation A -> B exists in this map.

Return

true if the relation exists in this map, false otherwise.

See also

Parameters

entity

Relation key A.

value

Relation value B.


fun contains(pair: Pair<T, R>): Boolean

Returns whether relation A -> B exists in this map.

Return

true if the relation exists in this map, false otherwise.

See also

Parameters

pair

Relation pair A -> B.