matchPath()
@gravity-rail/react / matchPath
Function: matchPath()
matchPath(
pattern,pathname):Record<string,string> |null
Match an exact path with required :name segments. Parameters are decoded.
Parameters
pattern
string
pathname
string
Returns
Record<string, string> | null