Kotlin Wrappers API Reference
Toggle table of contents
common
js
wasmJs
Platform filter
common
js
wasmJs
Switch theme
kotlin-js-core
/
js.core
/
JsPrimitives
Js
Primitives
common
js
wasmJs
expect
object
JsPrimitives
(
source
)
actual
object
JsPrimitives
(
source
)
actual
object
JsPrimitives
(
source
)
Members
Functions
to
Boolean
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
JsBoolean
.
toBoolean
(
)
:
Boolean
actual
inline
fun
JsBoolean
.
toBoolean
(
)
:
Boolean
actual
inline
fun
JsBoolean
.
toBoolean
(
)
:
Boolean
to
Byte
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
JsByte
.
toByte
(
)
:
Byte
actual
inline
fun
JsByte
.
toByte
(
)
:
Byte
actual
inline
fun
JsByte
.
toByte
(
)
:
Byte
to
Double
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
JsDouble
.
toDouble
(
)
:
Double
actual
inline
fun
JsDouble
.
toDouble
(
)
:
Double
actual
inline
fun
JsDouble
.
toDouble
(
)
:
Double
to
Float
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
JsFloat
.
toFloat
(
)
:
Float
actual
inline
fun
JsFloat
.
toFloat
(
)
:
Float
actual
inline
fun
JsFloat
.
toFloat
(
)
:
Float
to
Int
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
JsInt
.
toInt
(
)
:
Int
actual
inline
fun
JsInt
.
toInt
(
)
:
Int
actual
inline
fun
JsInt
.
toInt
(
)
:
Int
to
Js
Boolean
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
Boolean
.
toJsBoolean
(
)
:
JsBoolean
actual
inline
fun
Boolean
.
toJsBoolean
(
)
:
JsBoolean
actual
inline
fun
Boolean
.
toJsBoolean
(
)
:
JsBoolean
to
Js
Byte
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
Byte
.
toJsByte
(
)
:
JsByte
actual
inline
fun
Byte
.
toJsByte
(
)
:
JsByte
actual
inline
fun
Byte
.
toJsByte
(
)
:
JsByte
to
Js
Double
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
Double
.
toJsDouble
(
)
:
JsDouble
actual
inline
fun
Double
.
toJsDouble
(
)
:
JsDouble
actual
inline
fun
Double
.
toJsDouble
(
)
:
JsDouble
to
Js
Float
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
Float
.
toJsFloat
(
)
:
JsFloat
actual
inline
fun
Float
.
toJsFloat
(
)
:
JsFloat
actual
inline
fun
Float
.
toJsFloat
(
)
:
JsFloat
to
Js
Int
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
Int
.
toJsInt
(
)
:
JsInt
actual
inline
fun
Int
.
toJsInt
(
)
:
JsInt
actual
inline
fun
Int
.
toJsInt
(
)
:
JsInt
to
Js
Short
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
Short
.
toJsShort
(
)
:
JsShort
actual
inline
fun
Short
.
toJsShort
(
)
:
JsShort
actual
inline
fun
Short
.
toJsShort
(
)
:
JsShort
to
Js
String
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
String
.
toJsString
(
)
:
JsString
actual
inline
fun
String
.
toJsString
(
)
:
JsString
actual
inline
fun
String
.
toJsString
(
)
:
JsString
to
Short
Link copied to clipboard
common
js
wasmJs
expect
inline
fun
JsShort
.
toShort
(
)
:
Short
actual
inline
fun
JsShort
.
toShort
(
)
:
Short
actual
inline
fun
JsShort
.
toShort
(
)
:
Short