URLMatchable
public protocol URLMatchable
Conforming types define a predicate capable of matching a given URL (or not).
-
A predicate that determines whether a conforming type matches the given
URL.Declaration
Swift
func matches(url: URL) -> BoolParameters
urlThe
URLto be matched.Return Value
trueif the conforming type matches the givenURL. Otherwise,false.
View on GitHub
Install in Dash
URLMatchable Protocol Reference