@remove(t:tab, n:numeric)
@remove(m:map, k:value)


@remove(t:tab, n:numeric)


removes the element at index n in t (t is modified in place).

Note that building a new tab by removing elements satisfying some property P is easy with a comprehension:

       [ $x |$x in t, P ]


which builds a new tab, leavingt untouched.

@remove(m:map, k:value)


removes the entry k in map (m is modified in place). Does nothing if the key k is not present in map .