kotlin.collections.contains

contains

inline operator fun <K, V> Map<out K, V>.contains(
    key: K
): Boolean

Checks if the map contains the given key. This method allows to use the x in map syntax for checking whether an object is contained in the map.

operator fun <T> Iterable<T>.contains(element: T): Boolean

Returns true if eleme