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