==(_:_:)

Performs an exact byte-wise comparison on two documents. Does not parse or validate the operands. Documents with the same fields in different orders will compare unequal!

BSON.Document.swift:84
static func == (a: `Self`, b: `Self`) -> Bool