kotlin-stdlib / kotlin.collections / HashSet / getElement getElement Native 1.3 fun getElement(element: E): E?(source) Searches for the specified element in this set. Return the element from the set equal to element, or null if no such element found.