MCPcopy Create free account
hub / github.com/angular/dev-infra / removeASCIIWhitespace

Function removeASCIIWhitespace

github-actions/saucelabs/set-saucelabs-env.js:3712–3714  ·  view source on GitHub ↗
(str, leading = true, trailing = true)

Source from the content-addressed store, hash-verified

3710 function isHTTPWhiteSpace(char) {
3711 return char === 13 || char === 10 || char === 9 || char === 32;
3712 }
3713 function removeHTTPWhitespace(str, leading = true, trailing = true) {
3714 return removeChars(str, leading, trailing, isHTTPWhiteSpace);
3715 }
3716 function isASCIIWhitespace(char) {
3717 return char === 13 || char === 10 || char === 9 || char === 12 || char === 32;

Callers 1

dataURLProcessorFunction · 0.70

Calls 1

removeCharsFunction · 0.70

Tested by

no test coverage detected