MCPcopy Create free account
hub / github.com/microsoft/SandDance / paddingObject

Function paddingObject

docs/tests/v3/es6/js/sanddance-test-es6.js:90153–90158  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

90151}
90152const number = (_)=>+_ || 0;
90153const paddingObject = (_)=>({
90154 top: _,
90155 bottom: _,
90156 left: _,
90157 right: _
90158 });
90159function padding(_) {
90160 return (0, _vegaUtil.isObject)(_) ? {
90161 top: number(_.top),

Callers 2

paddingFunction · 0.70
parsePaddingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected