define
fun define(name: String, constructor: () -> dynamic, options: ElementDefinitionOptions = definedExternally)(source)
Since Kotlin
1.1fun define(name: String, constructor: () -> JsAny?, options: ElementDefinitionOptions = definedExternally)(source)