``` mapOf("string" to 1).mapValues { (str, int) -&...
# announcements
m
Copy code
mapOf("string" to 1).mapValues { (str, int) -> func(str, int) }
where:
Copy code
fun func(str: String, int: Int) = int.toString()
Is it possible to make this
func
be passed like:
mapValues(::func)
instead? Or only when the func has
Map.Entry<String, Int>
single argument?