MCPcopy Create free account
hub / github.com/bernaferrari/FigmaToCode / nodeHasMultipleFills

Function nodeHasMultipleFills

packages/backend/src/common/images.ts:70–71  ·  view source on GitHub ↗
(node: MinimalFillsMixin)

Source from the content-addressed store, hash-verified

68 getImageFills(node).length > 0;
69
70export const nodeHasMultipleFills = (node: MinimalFillsMixin) =>
71 node.fills instanceof Array && node.fills.length > 1;
72
73const imageBytesToBase64 = (bytes: Uint8Array): string => {
74 // Convert Uint8Array to binary string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected