Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VPSDance/ai-proxy-rules
/ removeValues
Function
removeValues
scripts/rules.ts:118–121 ·
view source on GitHub ↗
(source: T[], remove: T[])
Source
from the content-addressed store, hash-verified
116
}
117
118
function
removeValues<T>(source: T[], remove: T[]): T[] {
119
const
removeSet =
new
Set(remove);
120
return
source.filter((value) => !removeSet.has(value));
121
}
Callers
1
subtractRuleSet
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected