Type of the output object
The input object
Optional
typeGuard: TypeGuardFunction<T>The type guard function, ensures that the output object is of the expected type, refer to TypeGuardFunction for an example.
The EJSON object
It is equivalent to (except a bit more performant due to custom options)
let obj = { ... }
parse(stringify(obj, { extended: true }))
Generated using TypeDoc
Turns the input object into an EJSON object.