Home > @uniformdev/project-map > Route > matches

Route.matches() method

Tests if an incoming path matches this route

Signature:

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

path

</td><td>

string

</td><td>

</td></tr> </tbody></table> Returns:

MatchedRoute | UnmatchedRoute