Join Slack
Powered by
Am I missing something, or is there no support for...
# javascript
j
Jonathan Ellis
06/02/2022, 7:31 PM
Am I missing something, or is there no support for creating a new instance via reflection in the js runtime?
b
Big Chungus
06/02/2022, 8:12 PM
Reflection is pretty much nonexistent in js save for KClass.simpleName. However you can use js("{}").unsafeCast<T>() to achieve a similar effect
🙏 1
Open in Slack
Previous
Next