MCPcopy
hub / github.com/webpack/webpack / clearBleed

Function clearBleed

lib/cli.js:888–891  ·  view source on GitHub ↗
(index, string, open, close, replace)

Source from the content-addressed store, hash-verified

886 * @returns {string} result
887 */
888const clearBleed = (index, string, open, close, replace) =>
889 index < 0
890 ? open + string + close
891 : open + replaceClose(index, string, close, replace) + close;
892
893/** @typedef {(value: EXPECTED_ANY) => string} PrintFunction */
894

Callers 1

filterEmptyFunction · 0.85

Calls 1

replaceCloseFunction · 0.85

Tested by

no test coverage detected