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

Function pointValue

src/native-ts/yoga-layout/index.ts:90–92  ·  view source on GitHub ↗
(v: number)

Source from the content-addressed store, hash-verified

88const AUTO_VALUE: Value = { unit: Unit.Auto, value: NaN }
89
90function pointValue(v: number): Value {
91 return { unit: Unit.Point, value: v }
92}
93function percentValue(v: number): Value {
94 return { unit: Unit.Percent, value: v }
95}

Callers 3

setFlexMethod · 0.85
setBorderMethod · 0.85
parseDimensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected