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

Function d3_functor

explainshell/web/static/js/d3.v3.js:1616–1620  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

1614 d3_rgb_names.set(key, d3_rgb_parse(value, d3_rgb, d3_hsl_rgb));
1615 });
1616 function d3_functor(v) {
1617 return typeof v === "function" ? v : function() {
1618 return v;
1619 };
1620 }
1621 d3.functor = d3_functor;
1622 function d3_identity(d) {
1623 return d;

Callers 6

lineFunction · 0.85
hullFunction · 0.85
voronoiFunction · 0.85
d3.v3.jsFile · 0.85
quadtreeFunction · 0.85
areaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected