(values: number[])
| 112 | return normalizeTextRules(values.map((value) => value.toLowerCase())); |
| 113 | } |
| 114 | |
| 115 | function normalizeTextRules(values: string[]): string[] { |
| 116 | return [...new Set(values.map((value) => value.trim()).filter(Boolean))].sort(); |
| 117 | } |
| 118 | |
| 119 | function normalizeAsnRules(values: number[]): number[] { |