klyn.collections.ArrayList.removeAt
method

    public native removeAt(index as Int) as Void

Description

Removes the element at the requested index.

Elements after the removed slot are shifted to the left.

Parameters

Parameter | Description
--- | ---
`index` | Zero-based index of the element to remove.

Throws

- IndexException if index is outside `[0, size)`.

Example

    import klyn.collections

    data = ["A", "B", "C"]
    data.removeAt(1)
    print(data)  # [A, C]