remove

remove(value: MemberType) updating;

The remove method of the Array class removes the entry specified in the value parameter from an array. Any entry at a higher index is moved down one slot to fill the gap.

If the specified entry occurs more than once in the array, only the first entry is removed. If the specified entry does not exist, an exception is raised.