Skip to content

match

reference
1 min readUpdated

Kind: Function

Source: src/router/reg-exp-router/matcher.ts

Part of: Router

Signature

ts
function match(this: R, method: string, path: string): Result<T>

Parameters

NameType
thisR
methodstring
pathstring

Returns: Result<T>

Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (2)

  • PreparedRegExpRoutersrc/router/reg-exp-router/prepared-router.ts:9
  • RegExpRoutersrc/router/reg-exp-router/router.ts:47

Was this page helpful?

Download as PDF
match — Hono (narrator proof)