contains

operator fun contains(element: E): Boolean

Returns true if the specified element is present in this hash set, false otherwise.

Parameters

element

The element to look for in this set