API Reference
Platform docs
Theme

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

Route.matches() method

Tests if an incoming path matches this route

Signature:

Parameters

Parameter

Type

Description

path

string

Returns:

MatchedRoute | UnmatchedRoute

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