MCPcopy
hub / github.com/esamattis/underscore.string / dedent.js

File dedent.js

dedent.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1var makeString = require('./helper/makeString');
2
3function getIndent(str) {
4 var matches = str.match(/^[\s\\t]*/gm);

Callers

nothing calls this directly

Calls 1

getIndentFunction · 0.85

Tested by

no test coverage detected