Function Reference to Overloaded functions

Specify the type that you expect: val temp: Int.(Int) -> Int = Int::div

5 Likes