Returns the distance between two indices.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Parameters
start
A valid index of the collection.
end
Another valid index of the collection. If
end
is equal tostart
, the result is zero.
Return Value
The distance between start
and end
.