https://kotlinlang.org logo
r

Robert Jaros

02/27/2020, 10:23 AM
createInstance
is a helper function declared in KVision, which do some magic to treat a JS code as a constructor to create new JS object instance (we cast
dynamic
to
Any
and then back to
dynamic
, as we do not have any external class definitions)