CanMatchFn
Type Alias
The signature of a function used as a canMatch
guard on a Route
.
API
Description
type CanMatchFn = (route: Route, segments: UrlSegment[]) => MaybeAsync<GuardResult>
Jump to details
The signature of a function used as a canMatch
guard on a Route
.
type CanMatchFn = (route: Route, segments: UrlSegment[]) => MaybeAsync<GuardResult>