array_erase

Declaration

array_erase :: fn (_arr: Any, i: s64)

Description

Erase element on index i. Call to this function can cause reordering of an dynamic array. Allocated memory is kept even if we erase entire dynamic array. Function invoke panic in case of index overflow.

Arguments

  • _arr Array.

  • i Index of erased element.

Declared in: array.bl