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

Function formatValue

explainshell/web/static/js/d3.v3.js:1786–1788  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1784 return row.map(formatValue).join(delimiter);
1785 }
1786 function formatValue(text) {
1787 return reFormat.test(text) ? '"' + text.replace(/\"/g, '""') + '"' : text;
1788 }
1789 return dsv;
1790 }
1791 d3.csv = d3_dsv(",", "text/csv");

Callers 1

d3_dsvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected