define

fun define(name: String, constructor: () -> dynamic, options: ElementDefinitionOptions = definedExternally)(source)

Since Kotlin

1.1