array.insert

Inserts a value before index (index = size appends; negative counts from the end).

array.insert(id: array<any>, index: int, value: element type)

Parameters

Example

a.insert(1, close)