Scala List min() method with example
The min() method is utilized to find the smallest element of all the elements in the stated list.
Method Definition: def min[B >: A](implicit ord: math.Ordering[B]): A
Return Type: It returns the smallest of all the elements in the stated list.
My Personal Notes arrow_drop_up
Please Login to comment...