init(_:)
Creates a type-erased collection that wraps the given collection.
Declaration
init<C>(_ base: C) where Element == C.Element, C : RandomAccessCollectionParameters
- base:
The collection to wrap.
Creates a type-erased collection that wraps the given collection.
init<C>(_ base: C) where Element == C.Element, C : RandomAccessCollectionThe collection to wrap.