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

Function toUSVString

github-actions/saucelabs/set-saucelabs-env.js:1522–1524  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

1520 var hasToWellFormed = typeof String.prototype.toWellFormed === "function";
1521 var hasIsWellFormed = typeof String.prototype.isWellFormed === "function";
1522 function toUSVString(val) {
1523 return hasToWellFormed ? `${val}`.toWellFormed() : nodeUtil.toUSVString(val);
1524 }
1525 function isUSVString(val) {
1526 return hasIsWellFormed ? `${val}`.isWellFormed() : toUSVString(val) === `${val}`;
1527 }

Callers 1

isUSVStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected