method mongoose.Schema.prototype.eachPathimport { mongoose } from "https://deno.land/x/mongoose@6.13.4/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