Removes howMany elements from the array.
This method doesn't fail if it could not remove howMany elements. Instead, if howMany is greater than the array length, all elements are removed.
How many elements should be removed.
The number of elements removed
auto v = Array!int([5, 18, 17]); assert(v.removeBack(0) == 0); assert(v.removeBack(2) == 2); assert(v.removeBack(3) == 1); assert(v.removeBack(3) == 0);
See Implementation
Removes howMany elements from the array.
This method doesn't fail if it could not remove howMany elements. Instead, if howMany is greater than the array length, all elements are removed.