public removeAt(index as Int) as Void
Removes the element at the requested index.
Elements after the removed slot are shifted to the left.
| Parameter | Description |
|---|---|
index | Zero-based index of the element to remove. |
import klyn.collections data = [10, 20, 30] data.removeAt(1) print(data) # [10, 30]