(char: string)
| 40 | /[\w\p{L}\p{N}]/u.test(char); // Matches a single character that is any Unicode letter, any Unicode number, or an underscore |
| 41 | |
| 42 | export const isWhitespace = (char: string): boolean => /\s/.test(char); |
| 43 | |
| 44 | // Check if a character is a combining mark (only diacritics for now) |
| 45 | export const isCombiningMark = (char: string): boolean => /\p{M}/u.test(char); |
no outgoing calls
no test coverage detected