thana
02/12/2019, 10:39 AM(String) -> Any
. Shouldnt it be possible then, to pass this::someMethod
if it takes a string and returns something?gildor
02/12/2019, 10:43 AMJay
02/12/2019, 10:48 AMthis
)thana
02/12/2019, 10:50 AM::someMethod
does the job, thank you 🙂Jay
02/12/2019, 10:51 AMthana
02/12/2019, 10:55 AMmappers = mapOf("someString" to ::someMethod)
(which results in Map<String, (String) -> Any>
)