Instance Propertyswift-bson 0.3.1BSONReflection->BSONABI
description
BSON.AnyValue (ext).swift:54var description: String { get }
var description: String { get }
s7BSONABI4BSONO8AnyValueO14BSONReflectionE11descriptionSSvp
What are these?5AX1I
import BSONReflection
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen enum AnyValue
Any BSON value.
@frozen enum BSON
The namespace for all BSON types.
@frozen struct String
A Unicode string value that is a collection of characters.
static func ~~ (lhs: `Self`, rhs: BSON.AnyValue) -> Bool
Performs a type-aware equivalence comparison. If both operands are a document(_:)
(or list(_:)
), performs a recursive type-aware comparison by calling BSON//DocumentView.~~(_:_:)
. If both operands are a string(_:)
, performs unicode-aware string comparison. If both operands are a double(_:)
, performs floating-point-aware numerical comparison.
func canonicalized() throws -> BSON.AnyValue
Recursively parses and re-encodes any embedded documents (and list-documents) in this variant value.