MCPcopy Create free account
hub / github.com/anomalyco/models.dev / isSubstring

Function isSubstring

packages/core/script/generate-wandb.ts:160–162  ·  view source on GitHub ↗
(target: string, family: string)

Source from the content-addressed store, hash-verified

158}
159
160function isSubstring(target: string, family: string): boolean {
161 return target.toLowerCase().includes(family.toLowerCase());
162}
163
164function matchesFamily(target: string, family: string): boolean {
165 const targetLower = target.toLowerCase();

Callers 1

inferFamilyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected