W3cubDocs

/Kotlin

getElement

Platform and version requirements: Native (1.3)
fun getElement(element: E): E?

Searches for the specified element in this set.

Return the element from the set equal to element, or null if no such element found.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-hash-set/get-element.html