(char: string, other: string)
| 70 | ) |
| 71 | |
| 72 | const equalOfCharacterType = (char: string, other: string) => { |
| 73 | return ( |
| 74 | !!char && |
| 75 | !!other && |
| 76 | !isSpace(char) && |
| 77 | !isSpecialCharacters(char) && |
| 78 | !isSpace(other) && |
| 79 | !isSpecialCharacters(other) && |
| 80 | isIdeograph(char) === isIdeograph(other) |
| 81 | ) |
| 82 | } |
| 83 | |
| 84 | interface Segment { |
| 85 | segment: string |
no test coverage detected
searching dependent graphs…