contains

open operator override fun contains(element: E): Boolean

Returns true if this set contains the specified element.

Return

true if this set contains the specified element

Parameters

element

element to be checked for containment in this collection