MCPcopy Create free account
hub / github.com/idank/explainshell / padConstant

Function padConstant

explainshell/web/static/js/d3.v3.js:6272–6274  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

6270 return p == null ? d3_layout_treemapPadNull(node) : d3_layout_treemapPad(node, typeof p === "number" ? [ p, p, p, p ] : p);
6271 }
6272 function padConstant(node) {
6273 return d3_layout_treemapPad(node, x);
6274 }
6275 var type;
6276 pad = (padding = x) == null ? d3_layout_treemapPadNull : (type = typeof x) === "function" ? padFunction : type === "number" ? (x = [ x, x, x, x ],
6277 padConstant) : padConstant;

Callers

nothing calls this directly

Calls 1

d3_layout_treemapPadFunction · 0.85

Tested by

no test coverage detected