Removes the object at
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The index from which to remove the object in the array. The value must not exceed the bounds of the array.
To fill the gap, all elements beyond
index are moved by subtracting 1 from their index.