Last updated 3 years ago
Was this helpful?
- sum of elements.
้กไผผ JS ็ iterable protocol
Swift โฉ
public protocol Sequence { associatedtype Element associatedtype Iterator: IteratorProtocol where Iterator.Element == Element func makeIterator() -> Iterator // other requirements ... }