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