MCPcopy
hub / github.com/anomalyco/models.dev / has

Function has

packages/core/src/describe.ts:473–475  ·  view source on GitHub ↗
(value: string, pattern: RegExp)

Source from the content-addressed store, hash-verified

471}
472
473function has(value: string, pattern: RegExp) {
474 return pattern.test(value);
475}
476
477function labID(id: string, providerId?: string) {
478 const [first] = id.split("/");

Callers 15

describeModelFunction · 0.85
specialDescriptionFunction · 0.85
openAIDescriptionFunction · 0.85
anthropicDescriptionFunction · 0.85
googleDescriptionFunction · 0.85
mistralDescriptionFunction · 0.85
qwenDescriptionFunction · 0.85
deepSeekDescriptionFunction · 0.85
xaiDescriptionFunction · 0.85
miniMaxDescriptionFunction · 0.85
nvidiaDescriptionFunction · 0.85
metaDescriptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected