Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
core
match
Function match
match
(
pattern
,
path
)
:
boolean
Simplified glob matching. Supports a subset of glob patterns:
*
matches anything inside a path segment
?
matches 1 character inside a path segment
**
matches anything including an empty path segment
simple brace expansion (
{js,ts}
=> js or ts)
character ranges (using [...])
Parameters
pattern
:
string
|
IRelativePattern
path
:
string
Returns
boolean
match
(
expression
,
path
,
hasSibling
?
)
:
string
Parameters
expression
:
IExpression
path
:
string
Optional
hasSibling
:
(
(
name
)
=>
boolean
)
(
name
)
:
boolean
Parameters
name
:
string
Returns
boolean
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Theia TypeDoc
Loading...
Simplified glob matching. Supports a subset of glob patterns:
*
matches anything inside a path segment?
matches 1 character inside a path segment**
matches anything including an empty path segment{js,ts}
=> js or ts)