Optional
_idA unique document ID (Mongo DB ObjectID)
Deep copies the object and returns a new instance.
This function is unnecessary as this field has no numeric types.
Please use the .clone()
method instead.
Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.
If normalizeNumberTypes
is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").
Optional
normalizeNumberTypes: boolean
A unique stringified document ID