const matchesGlob: (path, pattern) => boolean
The path.matchesGlob() method determines if path matches the pattern.
Parameters
| Parameter | Type | Description |
|---|
|
path
|
string
|
The path to glob-match against.
|
|
pattern
|
string | string[]
|
The glob to check the path against.
|
Returns
boolean