Scoop API

scoop:scoop.core:0.1.0

Array

class Array

source · line 6
public
public class Array<T> : List<T>

A fixed-size array with immutable element slots and zero-based Long indexing. Copy conversion creates independent slots while preserving element values or references.

Extensions

function iterator

source · line 33
public
public override operator fun iterator(): Iterator<T>

Traverses the elements in index order and remains exhausted after reaching the end.

function toMutableArray

source · line 27
public
@Intrinsic("array_to_mutable")
    public fun toMutableArray(): MutableArray<T>

Copies the elements into independent mutable array slots.