toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.array
Package-level
declarations
Types
Functions
Types
Array
Like
Link copied to clipboard
external
interface
ArrayLike
<
out
T
>
Js
Array
Link copied to clipboard
sealed
external
class
JsArray
Js
Pair
Link copied to clipboard
typealias
JsPair
<
A
,
B
>
=
JsTuple2
<
A
,
B
>
Js
Tuple
Link copied to clipboard
sealed
external
interface
JsTuple
Js
Tuple1
Link copied to clipboard
sealed
external
interface
JsTuple1
<
out
A
>
:
JsTuple
Js
Tuple2
Link copied to clipboard
sealed
external
interface
JsTuple2
<
out
A
,
out
B
>
:
JsTuple1
<
A
>
Js
Tuple3
Link copied to clipboard
sealed
external
interface
JsTuple3
<
out
A
,
out
B
,
out
C
>
:
JsTuple2
<
A
,
B
>
Js
Tuple4
Link copied to clipboard
sealed
external
interface
JsTuple4
<
out
A
,
out
B
,
out
C
,
out
D
>
:
JsTuple3
<
A
,
B
,
C
>
Js
Tuple5
Link copied to clipboard
sealed
external
interface
JsTuple5
<
out
A
,
out
B
,
out
C
,
out
D
,
out
E
>
:
JsTuple4
<
A
,
B
,
C
,
D
>
Js
Tuple6
Link copied to clipboard
sealed
external
interface
JsTuple6
<
out
A
,
out
B
,
out
C
,
out
D
,
out
E
,
out
F
>
:
JsTuple5
<
A
,
B
,
C
,
D
,
E
>
Js
Tuple7
Link copied to clipboard
sealed
external
interface
JsTuple7
<
out
A
,
out
B
,
out
C
,
out
D
,
out
E
,
out
F
,
out
G
>
:
JsTuple6
<
A
,
B
,
C
,
D
,
E
,
F
>
Mutable
Array
Like
Link copied to clipboard
external
interface
MutableArrayLike
<
T
>
:
ArrayLike
<
T
>
Readonly
Array
Link copied to clipboard
typealias
ReadonlyArray
<
T
>
=
Array
<
out
T
>
Functions
as
List
Link copied to clipboard
fun
<
T
>
ArrayLike
<
T
>
.
asList
(
)
:
List
<
T
>
empty
Tuple
Link copied to clipboard
inline
fun
emptyTuple
(
)
:
JsTuple
Js
Pair
Link copied to clipboard
inline
fun
<
A
,
B
>
JsPair
(
a
:
A
,
b
:
B
)
:
JsTuple2
<
A
,
B
>
push
Link copied to clipboard
inline
fun
<
T
>
Array
<
T
>
.
push
(
item
:
T
)
inline
fun
<
T
>
Array
<
T
>
.
push
(
vararg
items
:
T
)
to
Typed
Array
Link copied to clipboard
fun
<
T
>
Sequence
<
T
>
.
toTypedArray
(
)
:
Array
<
T
>
tuple
Of
Link copied to clipboard
inline
fun
<
A
>
tupleOf
(
first
:
A
)
:
JsTuple1
<
A
>
inline
fun
<
A
,
B
>
tupleOf
(
first
:
A
,
second
:
B
)
:
JsTuple2
<
A
,
B
>
inline
fun
<
A
,
B
,
C
>
tupleOf
(
first
:
A
,
second
:
B
,
third
:
C
)
:
JsTuple3
<
A
,
B
,
C
>
inline
fun
<
A
,
B
,
C
,
D
>
tupleOf
(
first
:
A
,
second
:
B
,
third
:
C
,
fourth
:
D
)
:
JsTuple4
<
A
,
B
,
C
,
D
>
inline
fun
<
A
,
B
,
C
,
D
,
E
>
tupleOf
(
first
:
A
,
second
:
B
,
third
:
C
,
fourth
:
D
,
fifth
:
E
)
:
JsTuple5
<
A
,
B
,
C
,
D
,
E
>
inline
fun
<
A
,
B
,
C
,
D
,
E
,
F
>
tupleOf
(
first
:
A
,
second
:
B
,
third
:
C
,
fourth
:
D
,
fifth
:
E
,
sixth
:
F
)
:
JsTuple6
<
A
,
B
,
C
,
D
,
E
,
F
>
inline
fun
<
A
,
B
,
C
,
D
,
E
,
F
,
G
>
tupleOf
(
first
:
A
,
second
:
B
,
third
:
C
,
fourth
:
D
,
fifth
:
E
,
sixth
:
F
,
seventh
:
G
)
:
JsTuple7
<
A
,
B
,
C
,
D
,
E
,
F
,
G
>