Kotlin HashSet filterIsInstanceTo()
Syntax & Examples
Syntax of HashSet.filterIsInstanceTo()
The syntax of HashSet.filterIsInstanceTo() extension function is:
fun <R, C : MutableCollection<in R>> Iterable<*>.filterIsInstanceTo( destination: C ): C
This filterIsInstanceTo() extension function of HashSet appends all elements that are instances of specified type parameter R to the given destination.