MCPcopy
hub / github.com/vitejs/vite / isMatch

Function isMatch

playground/test-utils.ts:317–318  ·  view source on GitHub ↗
(matcher: string | RegExp)

Source from the content-addressed store, hash-verified

315
316 try {
317 const isMatch = (matcher: string | RegExp) => (text: string) =>
318 typeof matcher === 'string' ? text === matcher : matcher.test(text)
319
320 let processMsg: (text: string) => boolean
321

Callers 2

untilBrowserLogFunction · 0.70
expandGlobIdsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected