Contents

matches(_:options:)

Matches the receiver pattern against the specified URL with options.

Declaration

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

Parameters

  • url:

    The URL to match against the receiver pattern.

  • options:

    The options to use while matching.

Return Value

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

See Also

Related Documentation