MCPcopy
hub / github.com/webpack/webpack / filterEmpty

Function filterEmpty

lib/cli.js:904–908  ·  view source on GitHub ↗
(open, close, replace = open, at = open.length + 1)

Source from the content-addressed store, hash-verified

902 */
903const filterEmpty =
904 (open, close, replace = open, at = open.length + 1) =>
905 (string) =>
906 string || !(string === "" || string === undefined)
907 ? clearBleed(`${string}`.indexOf(close, at), string, open, close, replace)
908 : "";
909
910/**
911 * Returns result.

Callers 1

initFunction · 0.85

Calls 1

clearBleedFunction · 0.85

Tested by

no test coverage detected