Kotlin HashSet dropWhile()
Syntax & Examples
Syntax of HashSet.dropWhile()
The syntax of HashSet.dropWhile() extension function is:
fun <T> Iterable<T>.dropWhile( predicate: (T) -> Boolean ): List<T>
This dropWhile() extension function of HashSet returns a list containing all elements except first elements that satisfy the given predicate.