API Reference
Platform docs

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

Route.matches() method

Tests if an incoming path matches this route

Signature:

Parameters

ParameterTypeDescription
pathstring

Returns:

MatchedRoute | UnmatchedRoute

Join our community on Discord
Check out our public repositories on GitHub
Enjoy some video content on YouTube