MCPcopy
hub / github.com/jipegit/OSXAuditor / d3_functor

Function d3_functor

d3-3.2.8/d3.js:1704–1708  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

1702 d3_rgb_names.set(key, d3_rgbNumber(value));
1703 });
1704 function d3_functor(v) {
1705 return typeof v === "function" ? v : function() {
1706 return v;
1707 };
1708 }
1709 d3.functor = d3_functor;
1710 function d3_identity(d) {
1711 return d;

Callers 6

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

Calls

no outgoing calls

Tested by

no test coverage detected