Skip to main content

PathMatch

A PathMatch contains info about how a PathPattern matched on a URL pathname.

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
paramsParams<ParamKey>The names and values of dynamic parameters in the URL.
pathnamestringThe portion of the URL pathname that was matched.
pathnameBasestringThe portion of the URL pathname that was matched before child routes.
patternPathPattern<string>The pattern that was used to match.