MCPcopy Index your code
hub / github.com/infinitered/reactotron / removeLower

Function removeLower

lib/reactotron-mcp/src/redaction.ts:175–175  ·  view source on GitHub ↗
(arr: string[])

Source from the content-addressed store, hash-verified

173
174function subtractRules(base: McpRedactionRules, remove: McpRedactionRules): McpRedactionRules {
175 const removeLower = (arr: string[]) => new Set(arr.map((s) => s.toLowerCase()))
176
177 const removeKeys = removeLower(remove.sensitiveKeys ?? [])
178 const removePaths = new Set(remove.statePathPatterns ?? [])

Callers 1

subtractRulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected