WebExtensionMatchPattern.matchesPattern

Matches the matchPattern against the specified pattern with options.

Parameters

patternThe #WebKitWebExtensionMatchPattern to match with matchPattern.
optionsThe #WebKitWebExtensionMatchPatternOptions use while matching.

Returns

Whether the pattern matches the specified pattern.