MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / normalizeTopic

Function normalizeTopic

website/src/lib/catalog.ts:178–180  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

176}
177
178function normalizeTopic(value: string) {
179 return value.trim().toLowerCase();
180}
181
182function uniqueValues(values: string[]) {
183 return Array.from(new Set(values));

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected