@drupflare/spool - v0.1.0
Preparing search index...
index
matchRoute
Function matchRoute
matchRoute
<
T
extends
{
pattern
:
string
}
>
(
routes
:
readonly
T
[]
,
path
:
string
,
)
:
{
params
:
Params
;
route
:
T
}
|
null
the first route whose pattern fits
path
, with the params it captured
Type Parameters
T
extends
{
pattern
:
string
}
Parameters
routes
:
readonly
T
[]
path
:
string
Returns
{
params
:
Params
;
route
:
T
}
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@drupflare/spool - v0.1.0
Loading...
the first route whose pattern fits
path, with the params it captured