What is the type of the function below?
fun runFunctionWith5(functionName: String, targetFunction: (Int) -> Double) {
println("V --- $functionName is started --- V")
targetFunction(5)
println("^ --- $functionName is finished --- ^")
}What is the type of the function below?
fun runFunctionWith5(functionName: String, targetFunction: (Int) -> Double) {
println("V --- $functionName is started --- V")
targetFunction(5)
println("^ --- $functionName is finished --- ^")
}Create a free account to access the full topic