Matches the URI of an incoming HTTP event against a route's path configuration.
The type representing the incoming HTTP event.
The type representing the outgoing HTTP response.
The matcher options containing the route and event.
true if the URI matches the route's configuration, otherwise false.
true
false
const match = uriMatcher({ route, event });console.log(match); // true or false Copy
const match = uriMatcher({ route, event });console.log(match); // true or false
Matches the URI of an incoming HTTP event against a route's path configuration.