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

Function isDefined

src/native-ts/yoga-layout/index.ts:108–110  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

106}
107
108function isDefined(n: number): boolean {
109 return !isNaN(n)
110}
111
112// NaN-safe equality for layout-cache input comparison
113function sameFloat(a: number, b: number): boolean {

Callers 6

calculateLayoutMethod · 0.85
layoutNodeFunction · 0.85
layoutAbsoluteChildFunction · 0.85
computeFlexBasisFunction · 0.85
resolveFlexibleLengthsFunction · 0.85
resolveGapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected