init(_:)
Creates an AnyBidirectionalCollection having the same underlying collection as other.
Declaration
init?(_ other: AnyCollection<Element>)Discussion
If the underlying collection stored by other does not satisfy BidirectionalCollection, the result is nil.