method mongoose.Schema.prototype.eachPathimport { mongoose } from "https://deno.land/x/mongoose@8.6.3/types/index.d.ts"; const { Schema } = mongoose; eachPath(fn: (path: string, type: SchemaType) => void): thisIterates the schemas paths similar to Array#forEach. Iterates the schemas paths similar to Array#forEach. Parametersfn: (path: string, type: SchemaType) => voidReturnsthis