Function detecton is not working on Kotlin/JS
Closed this issue · 1 comments
rjaros commented
This condition is not working when running on Kotlin/JS.
if (action is Function<*>) {
It returns false when dispatched action is a lambda (transpilled to JS function).
patjackson52 commented
I have opened an issue in kotlin tracker (Although it does need a reproducer) https://youtrack.jetbrains.com/issue/KT-33149
This has been updated to us a Thunk interface as a workaround. Working in the latest release (0.2.8).