Home > OS >  How to pass multiple function implementations in Kotlin?
How to pass multiple function implementations in Kotlin?

Time:05-21

Reading about enter image description here

CodePudding user response:

calculate(4, 5, { a, b -> a * b }, { a, b -> a   b })

or

calculate(4, 5, { a, b -> a * b }) { a, b -> a   b }
  • Related