matchPath
matchPath<ParamKey,Path>(pattern: Path | PathPattern<Path>,pathname: string): PathMatch<ParamKey> | null
Performs pattern matching on a URL pathname and returns information about
the match.
Properties
(Mandatory properties are in bold)| Properties | Type | Description | 
|---|---|---|
| pathname | string | |
| pattern | Path | PathPattern<Path> |