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

Function identity

d3-3.2.8/d3.js:7144–7146  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

7142 };
7143 function d3_scale_identity(domain) {
7144 function identity(x) {
7145 return +x;
7146 }
7147 identity.invert = identity;
7148 identity.domain = identity.range = function(x) {
7149 if (!arguments.length) return domain;

Callers 1

identity-test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected