MCPcopy Create free account
hub / github.com/codeaashu/claude-code / hasAnyDefinedEdge

Function hasAnyDefinedEdge

src/native-ts/yoga-layout/index.ts:260–263  ·  view source on GitHub ↗
(edges: Value[])

Source from the content-addressed store, hash-verified

258 return false
259}
260function hasAnyDefinedEdge(edges: Value[]): boolean {
261 for (let i = 0; i < 9; i++) if (edges[i]!.unit !== 0) return true
262 return false
263}
264
265// Hot path: resolve all 4 physical edges in one pass, writing into `out`.
266// Equivalent to calling resolveEdge() 4× with allowAuto=false, but hoists the

Callers 4

setPositionMethod · 0.85
setMarginMethod · 0.85
setPaddingMethod · 0.85
setBorderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected