[WASM] Document Array types
This commit is contained in:
committed by
Space Team
parent
da8f9fbd04
commit
ffcc7dfca0
@@ -39,6 +39,8 @@ public class Array<T> @PublishedApi internal constructor(size: Int) {
|
||||
*
|
||||
* The function [init] is called for each array element sequentially starting from the first one.
|
||||
* It should return the value for an array element given its index.
|
||||
*
|
||||
* @throws RuntimeException if the specified [size] is negative.
|
||||
*/
|
||||
public inline constructor(size: Int, init: (Int) -> T)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user