(codePoint: number)
| 210 | } |
| 211 | |
| 212 | export function isLetter(codePoint: number): boolean { |
| 213 | const category = unicode.getCategory(codePoint); |
| 214 | // FIXME: Include Letter, modifier (Lm)? |
| 215 | return ["Lu", "Ll", "Lt", "Lo"].indexOf(category) >= 0; |
| 216 | } |
| 217 | |
| 218 | export function isDigit(codePoint: number): boolean { |
| 219 | const category = unicode.getCategory(codePoint); |
no outgoing calls
no test coverage detected
searching dependent graphs…