Imagine we have these functions:
fun first(value: Int, func: (Int) -> Int): Int = func(value)
fun second(func: (Int) -> Int, value: Int): Int = func(value)
How can we call them?
Imagine we have these functions:
fun first(value: Int, func: (Int) -> Int): Int = func(value)
fun second(func: (Int) -> Int, value: Int): Int = func(value)
How can we call them?
Create a free account to access the full topic