mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-23 04:14:22 +00:00
522 B
522 B
Selecting Elements
Select elements at a particular interval, the first mapped value, or iterate of elements with their indices.
Topics
Selecting Elements at an Interval
Swift/Sequence/striding(by:)Swift/Collection/striding(by:)
Conditionally Finding the First Mapped Value
Swift/Sequence/firstNonNil(_:)
Iterating Over Elements with Their Indices
Swift/Collection/indexed()
Supporting Types
IndexedCollectionStridingSequenceStridingCollection