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

Function uniqueValues

website/src/lib/catalog.ts:182–184  ·  view source on GitHub ↗
(values: string[])

Source from the content-addressed store, hash-verified

180}
181
182function uniqueValues(values: string[]) {
183 return Array.from(new Set(values));
184}
185
186function patternTopicValues(pattern: PatternMapping) {
187 return uniqueValues([pattern.title, ...pattern.features, ...pattern.topics]);

Callers 2

patternTopicValuesFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected