Skip to main content

matchRoute

Overview

matchRoute

(patternToPageComponent, location): `null` | `URLPatternResult`

Parameters

NameType
patternToPageComponentPatternToPageComponentMap<any>
locationURL

Returns

null | URLPatternResult

Defined in

components/functions/matchRoute.ts:42