MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / removeDuplicates

Function removeDuplicates

lib/command/dryRun.js:132–136  ·  view source on GitHub ↗
(inputString)

Source from the content-addressed store, hash-verified

130}
131
132function removeDuplicates(inputString) {
133 const array = inputString.split('\n')
134 const uniqueLines = [...new Set(array)]
135 return uniqueLines.join('\n')
136}

Callers 1

printTestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected