Use :: to signify a function reference, and then: fun foo(msg: String, bar: (input: String) -> Unit) { bar(msg) } // my function to pass ...
確定! 回上一頁