Skip to main content
GlobOptions.exclude - fs - Node documentation
property GlobOptions.exclude

Usage in Deno

import { type GlobOptions } from "node:fs";

Function to filter out files/directories. Return true to exclude the item, false to include it.

Type

((fileName: string) => boolean) | undefined