method Collection.prototype.findOneimport { Collection } from "https://deno.land/x/mongo@v0.33.0/src/collection/collection.ts"; findOne(filter?: Filter<T>, options?: FindOptions): Promise<T | undefined>Find one Document using the given filter Parametersoptionalfilter: Filter<T>The query used to match for a document optionaloptions: FindOptionsAdditional options for the operation ReturnsPromise<T | undefined>The document matched, or undefined if no document was found