DocumentIterator
public class DocumentIterator : IteratorProtocol
An iterator over the values in a Document
.
-
Returns the next value in the sequence, or
nil
if the iterator is exhausted.Declaration
Swift
public func next() -> Document.KeyValuePair?