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

Function padding

docs/app/js/sanddance-app.js:142228–142235  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

142226 right: _
142227 });
142228function padding(_) {
142229 return (0, _vegaUtil.isObject)(_) ? {
142230 top: number(_.top),
142231 bottom: number(_.bottom),
142232 left: number(_.left),
142233 right: number(_.right)
142234 } : paddingObject(number(_));
142235}
142236/**
142237 * Render the current scene in a headless fashion.
142238 * This method is asynchronous, returning a Promise instance.

Callers 2

packChildrenFunction · 0.70
cloudFunction · 0.70

Calls 3

numberFunction · 0.70
paddingObjectFunction · 0.70
signalMethod · 0.45

Tested by

no test coverage detected