method Collection.prototype.findAndModifyimport { Collection } from "https://deno.land/x/mongo@v0.31.1/mod.ts"; findAndModify(filter?: Filter<T>, options?: FindAndModifyOptions<T>): Promise<T | undefined>Find and modify a document in one, returning the matching document. Parametersoptionalfilter: Filter<T>The query used to match documents optionaloptions: FindAndModifyOptions<T>Additional options for the operation (e.g. containing update or remove parameters) ReturnsPromise<T | undefined>The document matched and modified