Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
Kotlin libraries
Toggle table of contents
1.9
Select version
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JS
Wasm-JS
Platform filter
JS
Wasm-JS
Switch theme
Kotlin libraries
kotlin-stdlib
/
org.khronos.webgl
/
set
set
JS
Wasm-JS
inline operator
fun
Int8Array
.
set
(
index
:
Int
,
value
:
Byte
)
(
source
)
inline operator
fun
Uint8Array
.
set
(
index
:
Int
,
value
:
Byte
)
(
source
)
inline operator
fun
Uint8ClampedArray
.
set
(
index
:
Int
,
value
:
Byte
)
(
source
)
inline operator
fun
Int16Array
.
set
(
index
:
Int
,
value
:
Short
)
(
source
)
inline operator
fun
Uint16Array
.
set
(
index
:
Int
,
value
:
Short
)
(
source
)
inline operator
fun
Int32Array
.
set
(
index
:
Int
,
value
:
Int
)
(
source
)
inline operator
fun
Uint32Array
.
set
(
index
:
Int
,
value
:
Int
)
(
source
)
inline operator
fun
Float32Array
.
set
(
index
:
Int
,
value
:
Float
)
(
source
)
inline operator
fun
Float64Array
.
set
(
index
:
Int
,
value
:
Double
)
(
source
)
Since Kotlin
1.1
operator
fun
Int8Array
.
set
(
index
:
Int
,
value
:
Byte
)
(
source
)
operator
fun
Uint8Array
.
set
(
index
:
Int
,
value
:
Byte
)
(
source
)
operator
fun
Uint8ClampedArray
.
set
(
index
:
Int
,
value
:
Byte
)
(
source
)
operator
fun
Int16Array
.
set
(
index
:
Int
,
value
:
Short
)
(
source
)
operator
fun
Uint16Array
.
set
(
index
:
Int
,
value
:
Short
)
(
source
)
operator
fun
Int32Array
.
set
(
index
:
Int
,
value
:
Int
)
(
source
)
operator
fun
Uint32Array
.
set
(
index
:
Int
,
value
:
Int
)
(
source
)
operator
fun
Float32Array
.
set
(
index
:
Int
,
value
:
Float
)
(
source
)
operator
fun
Float64Array
.
set
(
index
:
Int
,
value
:
Double
)
(
source
)
Since Kotlin
1.8
Thanks for your feedback!
Was this page helpful?
Yes
No
How can we improve?
Enter your name and email address if you would like to receive a follow-up message or
contact our support
.
By submitting this form, I agree that JetBrains s.r.o. ("JetBrains") may use my name, email address, phone number, and country of residence to provide support. I agree that JetBrains may process said data using
third-party services
for this purpose in accordance with the
JetBrains Privacy Policy
.