MCPcopy Index your code
hub / github.com/microsoft/SandDance / parseAutosize

Function parseAutosize

docs/app/js/sanddance-app.js:146823–146827  ·  view source on GitHub ↗
(spec)

Source from the content-addressed store, hash-verified

146821var _vegaScale = require("vega-scale");
146822var _vegaDataflow = require("vega-dataflow");
146823function parseAutosize(spec) {
146824 return (0, _vegaUtil.isObject)(spec) ? spec : {
146825 type: spec || "pad"
146826 };
146827}
146828const number = (_)=>+_ || 0;
146829const paddingObject = (_)=>({
146830 top: _,

Callers 1

collectSignalsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected