Kotlin HashSet addAll()
Syntax & Examples
Syntax of HashSet.addAll()
The syntax of HashSet.addAll() function is:
fun addAll(elements: Collection<E>): Boolean
This addAll() function of HashSet adds all of the elements of the specified collection to this collection.