Java Introduction to Scala Higher Order Functions Function Parameters

Shane Hartman
Shane Hartman
373 Points

Could you please explain the way the wildcards work in the bestRanked calculation with the min function?

val bestRanked = compare(ironManR, blackWidR, captAmerR, scarWitch, _ min _ min _)

I don't understand how min is being called for all 3 integers this notation since min only takes two arguments and it's being called twice here with three wildcards.