KiteJS
Toggle table of contents
0.8.0
Guide
GitHub
common
Target filter
common
Switch theme
Search in API
Skip to content
KiteJS
kitejs-api
/
io.github.yuroyami.kitejs.api
/
KiteJs
/
newConstructor
new
Constructor
abstract
fun
newConstructor
(
name
:
String
,
arity
:
Int
,
build
:
(
JsObject
,
List
<
JsValue
>
)
->
Unit
)
:
JsFunction
(
source
)
A host constructor:
new
makes a plain object and hands it to
build
to fill in.