PathSettings.isPathIgnored method
PathSettings › isPathIgnored
Checks if a path is ignored by the include/exclude path settings.Signature:
isPathIgnored(path: string, isFolder?: boolean): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| path | string | The path to check. |
| isFolder? | boolean | Whether the path is a folder. Only a folder-only glob (one ending in /) reads it: such a glob always matches the contents of a matching folder, and matches the folder itself only when this is true. |
Returns: boolean — true if the path is ignored, false otherwise.