(char: string)
| 37 | |
| 38 | // Helper functions for line-based word navigation |
| 39 | export const isWordCharStrict = (char: string): boolean => |
| 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 |
no outgoing calls
no test coverage detected