A value less than or equal to the number of elements in the collection.
- Xcode 10.2+
- Swift Standard Library
Available when Base conforms to Bidirectional
Complexity: O(1) if the collection conforms to
Random; otherwise, O(n), where n is the length of the collection.