MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI / sanitizeCode

Function sanitizeCode

services/tuss/index.js:12–14  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

10}
11
12function sanitizeCode(str) {
13 return String(str || '').replaceAll(/\D+/g, '');
14}
15
16export function searchTuss({ name, tuss }) {
17 let terms = getTussTerms();

Callers 4

searchTussFunction · 0.85
findTussByCodeExactFunction · 0.85
sortTermsFunction · 0.85
searchTussAdvancedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected