arr.insert
Insert elements. The method inserts an element into the array at the specified index.
method arr.insert (
uint id
)
uint id
)
Parameters
id | The index of the element needs to be inserted. |
arr.insert
The method inserts elements into the array at the specified index.
method uint arr.insert (
uint from,
uint count
)
uint from,
uint count
)
Parameters
from | The index of the first inserted element starts at zero. |
count | The amount of elements are required to be inserted. |
Return value
The index of the first inserted item.
Related links | Source |