array.remove

Removes the element at index and returns it (negative counts from the end).

array.remove(id: array<any>, index: int) -> element type

Parameters

Example

removed = a.remove(0)