Any ideas how to make this prototype work: ```fun ...
# getting-started
d
Any ideas how to make this prototype work:
Copy code
fun myMethod(): java.util.function.FunctionInt,String {
   return {  value: Int ->
      if(value == 42) "42" else ""
   } as FunctionInt,String  // heh
}
Perfect that compiles nicely, thanks!
👍🏿 1