Contents

matches(_:options:)

Matches the receiver pattern against the specified pattern with options.

Declaration

func matches(_ pattern: WKWebExtension.MatchPattern?, options: WKWebExtension.MatchPattern.Options = []) -> Bool

Parameters

  • pattern:

    The pattern to match against the receiver pattern.

  • options:

    The options to use while matching.

Return Value

A Boolean value indicating if the receiver pattern matches the specified pattern.

See Also

Related Documentation