Function: matchSubject()
ts
function matchSubject(pattern, subject): boolean;Defined in: glide-mq/src/utils.ts:827
Match a dot-separated subject against a pattern.
*matches exactly one segment>matches one or more trailing segments (must be the last token)- Literal tokens match exactly
Parameters
| Parameter | Type |
|---|---|
pattern | string |
subject | string |
Returns
boolean