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

Function sameFloat

src/native-ts/yoga-layout/index.ts:113–115  ·  view source on GitHub ↗
(a: number, b: number)

Source from the content-addressed store, hash-verified

111
112// NaN-safe equality for layout-cache input comparison
113function sameFloat(a: number, b: number): boolean {
114 return a === b || (a !== a && b !== b)
115}
116
117// --
118// Layout result (computed values)

Callers 2

layoutNodeFunction · 0.85
computeFlexBasisFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected