Kotlin Wrappers API Reference
Toggle table of contents
js
wasmJs
web
Target filter
js
wasmJs
web
Switch theme
Search in API
kotlin-js-core
/
js.core
/
JsPrimitives
Js
Primitives
js
wasmJs
web
actual
object
JsPrimitives
(
source
)
actual
object
JsPrimitives
(
source
)
expect
object
JsPrimitives
(
source
)
Members
Functions
to
Byte
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
JsByte
.
toByte
(
)
:
Byte
actual
inline
fun
JsByte
.
toByte
(
)
:
Byte
expect
inline
fun
JsByte
.
toByte
(
)
:
Byte
to
Double
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
JsDouble
.
toDouble
(
)
:
Double
actual
inline
fun
JsDouble
.
toDouble
(
)
:
Double
expect
inline
fun
JsDouble
.
toDouble
(
)
:
Double
to
Float
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
JsFloat
.
toFloat
(
)
:
Float
actual
inline
fun
JsFloat
.
toFloat
(
)
:
Float
expect
inline
fun
JsFloat
.
toFloat
(
)
:
Float
to
Int
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
JsInt
.
toInt
(
)
:
Int
actual
inline
fun
JsInt
.
toInt
(
)
:
Int
expect
inline
fun
JsInt
.
toInt
(
)
:
Int
to
Js
Byte
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
Byte
.
toJsByte
(
)
:
JsByte
actual
inline
fun
Byte
.
toJsByte
(
)
:
JsByte
expect
inline
fun
Byte
.
toJsByte
(
)
:
JsByte
to
Js
Double
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
Double
.
toJsDouble
(
)
:
JsDouble
actual
inline
fun
Double
.
toJsDouble
(
)
:
JsDouble
expect
inline
fun
Double
.
toJsDouble
(
)
:
JsDouble
to
Js
Float
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
Float
.
toJsFloat
(
)
:
JsFloat
actual
inline
fun
Float
.
toJsFloat
(
)
:
JsFloat
expect
inline
fun
Float
.
toJsFloat
(
)
:
JsFloat
to
Js
Int
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
Int
.
toJsInt
(
)
:
JsInt
actual
inline
fun
Int
.
toJsInt
(
)
:
JsInt
expect
inline
fun
Int
.
toJsInt
(
)
:
JsInt
to
Js
Short
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
Short
.
toJsShort
(
)
:
JsShort
actual
inline
fun
Short
.
toJsShort
(
)
:
JsShort
expect
inline
fun
Short
.
toJsShort
(
)
:
JsShort
to
Js
UByte
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
UByte
.
toJsUByte
(
)
:
JsUByte
actual
inline
fun
UByte
.
toJsUByte
(
)
:
JsUByte
expect
inline
fun
UByte
.
toJsUByte
(
)
:
JsUByte
to
Short
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
JsShort
.
toShort
(
)
:
Short
actual
inline
fun
JsShort
.
toShort
(
)
:
Short
expect
inline
fun
JsShort
.
toShort
(
)
:
Short
to
UByte
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
JsUByte
.
toUByte
(
)
:
UByte
actual
inline
fun
JsUByte
.
toUByte
(
)
:
UByte
expect
inline
fun
JsUByte
.
toUByte
(
)
:
UByte