MCPcopy Create free account
hub / github.com/VPSDance/ai-proxy-rules / normalizeAsnRules

Function normalizeAsnRules

scripts/rules.ts:114–116  ·  view source on GitHub ↗
(values: number[])

Source from the content-addressed store, hash-verified

112 return normalizeTextRules(values.map((value) => value.toLowerCase()));
113}
114
115function normalizeTextRules(values: string[]): string[] {
116 return [...new Set(values.map((value) => value.trim()).filter(Boolean))].sort();
117}
118
119function normalizeAsnRules(values: number[]): number[] {

Callers 1

normalizeRuleSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected