(codePoint: number)
| 216 | } |
| 217 | |
| 218 | export function isDigit(codePoint: number): boolean { |
| 219 | const category = unicode.getCategory(codePoint); |
| 220 | return ["Nd"].indexOf(category) >= 0; |
| 221 | } |
| 222 | |
| 223 | export function isNumeric(codePoint: number): boolean { |
| 224 | const category = unicode.getCategory(codePoint); |
no outgoing calls
no test coverage detected
searching dependent graphs…