Scala Mutable SortedSet isEmpty() method
In Scala mutable collections, SortedSet isEmpty() method is utilized to test if the SortedSet is empty or not. Method Definition: def isEmpty: Boolean Return Type: It returns true if the SortedSet is empty else it returns false. Example #1: // Scala program of isEmpty() // method import scala.collec