method Path.prototype.findLastValidNodeRe-exportimport { Path } from "https://deno.land/x/path@v3.0.0/mod.ts"; findLastValidNode(ignoreFiles?: boolean): Promise<Path>finds the first valid node walking a path from the right ParametersoptionalignoreFiles: booleanif set files will be ignored on the resolution ReturnsPromise<Path>a new Path object with a Path object until the valid node