"insertAt" (vector::insertAt / dyn_*::insertAt)

Inserts the given value into the vector/dyn_* at the given position.

Synopsis

int vector.insertAt(uint idx, T value);

Parameters

Parameter Description
idx Index position
value Value to be added

Description

The given value is inserted at the position idx. The later elements, starting from idx, are shifted down. The value of idx can range from 0 to "count". If "count" is given, the value is appended.

Assignment

Vector / dyn_*