parse
Splits this list’s inline key-value pairs into an array containing the values only. Parsing a list is slightly faster than parsing a general Document
, because this method ignores the document keys.
func parse() throws -> [BSON.AnyValue]
This method does not perform any key validation.
Calling this convenience method is the same as calling parse(to:)
and collecting the yielded elements in an array.