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