Skip to content

getPattern

reference
1 min readUpdated

Kind: Function

Source: src/utils/url.ts

Part of: Utils

Signature

ts
function getPattern(label: string, next: string): Pattern | null

Parameters

NameType
labelstring
nextstring

Returns: Pattern | null

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)

  • Nodesrc/router/trie-router/node.ts:25
  • matchedRoutessrc/helper/route/index.ts:32

Was this page helpful?

Download as PDF
getPattern — Hono (narrator proof)