MCPcopy Index your code
hub / github.com/nodejs/node / removeASCIIWhitespace

Function removeASCIIWhitespace

deps/undici/undici.js:4314–4316  ·  view source on GitHub ↗
(str, leading = true, trailing = true)

Source from the content-addressed store, hash-verified

4312 }
4313 __name(parseJSONFromBytes, "parseJSONFromBytes");
4314 function removeASCIIWhitespace(str, leading = true, trailing = true) {
4315 return removeChars(str, leading, trailing, isASCIIWhitespace);
4316 }
4317 __name(removeASCIIWhitespace, "removeASCIIWhitespace");
4318 function removeChars(str, leading, trailing, predicate) {
4319 let lead = 0;

Callers 1

dataURLProcessorFunction · 0.70

Calls 1

removeCharsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…