Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
132
function
removeDuplicates(inputString) {
133
const
array = inputString.split(
'\n'
)
134
const
uniqueLines = [...
new
Set(array)]
135
return
uniqueLines.join(
'\n'
)
136
}
Callers
1
printTests
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected