defaultUrlMatcher
function
stable
Matches the route configuration (route) against the actual URL (segments).
API
function defaultUrlMatcher( segments: UrlSegment[], segmentGroup: UrlSegmentGroup, route: Route): UrlMatchResult | null;
defaultUrlMatcher
UrlMatchResult | nullMatches the route configuration (route) against the actual URL (segments).
When no matcher is defined on a Route, this is the matcher used by the Router by default.
@returns
UrlMatchResult | nullDescription
Matches the route configuration (route) against the actual URL (segments).
When no matcher is defined on a Route, this is the matcher used by the Router by default.
Jump to details