MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / classNames

Function classNames

packages/lint/src/rules/textures.ts:13–15  ·  view source on GitHub ↗
(tag: OpenTag)

Source from the content-addressed store, hash-verified

11};
12
13function classNames(tag: OpenTag): string[] {
14 return (readAttr(tag.raw, "class") ?? "").split(/\s+/).filter(Boolean);
15}
16
17function isTextureMaterialClass(className: string): boolean {
18 return className.startsWith(TEXTURE_CLASS_PREFIX) && className !== TEXTURE_BASE_CLASS;

Callers 1

textures.tsFile · 0.85

Calls 1

readAttrFunction · 0.90

Tested by

no test coverage detected