MatchAll
public class MatchAll : URLMatching
A class that implements URL matching, which matches all URLs.
-
Initializes a new instance of
MatchAll.Declaration
Swift
public init() -
Always returns true, indicating that any URL matches.
Declaration
Swift
public func matches(_ url: URL) -> BoolParameters
urlThe URL to be evaluated.
Return Value
Always true, as all URLs are considered matches.