MCPcopy Create free account
hub / github.com/breck7/scroll / dsvParse

Function dsvParse

external/.d3.js:8350–8357  ·  view source on GitHub ↗
(parse)

Source from the content-addressed store, hash-verified

8348}
8349
8350function dsvParse(parse) {
8351 return function(input, init, row) {
8352 if (arguments.length === 2 && typeof init === "function") row = init, init = undefined;
8353 return text(input, init).then(function(response) {
8354 return parse(response, row);
8355 });
8356 };
8357}
8358
8359function dsv(delimiter, input, init, row) {
8360 if (arguments.length === 3 && typeof init === "function") row = init, init = undefined;

Callers 1

.d3.jsFile · 0.85

Calls 2

parseFunction · 0.85
textFunction · 0.70

Tested by

no test coverage detected