(chars: string[])
| 48 | } |
| 49 | |
| 50 | export function formatEntryNameValidationChars(chars: string[]): string { |
| 51 | return chars |
| 52 | .map((char) => { |
| 53 | if (char.charCodeAt(0) <= 0x1F) { |
| 54 | return `U+${char.charCodeAt(0).toString(16).padStart(4, '0').toUpperCase()}` |
| 55 | } |
| 56 | |
| 57 | return char |
| 58 | }) |
| 59 | .join(' ') |
| 60 | } |
| 61 | |
| 62 | export function getEntryNameValidationIssue( |
| 63 | name: string, |
no outgoing calls
no test coverage detected