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

Function isPosDefined

lib/Layout.js:128–130  ·  view source on GitHub ↗
(node, pos)

Source from the content-addressed store, hash-verified

126 }
127
128 function isPosDefined(node, pos) {
129 return !isUndefined(node.style[pos]);
130 }
131
132 function isMeasureDefined(node) {
133 return 'measure' in node.style;

Callers 1

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…