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

Function hasInlineMaskImage

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

Source from the content-addressed store, hash-verified

19}
20
21function hasInlineMaskImage(tag: OpenTag): boolean {
22 const style = readAttr(tag.raw, "style") ?? "";
23 return /\b(?:-webkit-)?mask-image\s*:/i.test(style);
24}
25
26function hasInlineDropShadow(tag: OpenTag): boolean {
27 const style = readAttr(tag.raw, "style") ?? "";

Callers 1

textures.tsFile · 0.85

Calls 1

readAttrFunction · 0.90

Tested by

no test coverage detected