MCPcopy
hub / github.com/Flipboard/react-canvas / isDimDefined

Function isDimDefined

lib/Layout.js:124–126  ·  view source on GitHub ↗
(node, axis)

Source from the content-addressed store, hash-verified

122 }
123
124 function isDimDefined(node, axis) {
125 return !isUndefined(node.style[dim[axis]]) && node.style[dim[axis]] >= 0;
126 }
127
128 function isPosDefined(node, pos) {
129 return !isUndefined(node.style[pos]);

Callers 2

setDimensionFromStyleFunction · 0.85
Layout.jsFile · 0.85

Calls 1

isUndefinedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…