This commit is contained in:
Asaki Yuki 2026-01-17 02:03:47 +07:00
parent 4d5f81f7e5
commit df7c642077
10 changed files with 440 additions and 157 deletions

View file

@ -0,0 +1,11 @@
export function isBlankChar(char: string) {
return /\s/.test(char)
}
export function isWordChar(char: string) {
return char && /\w/.test(char)
}
export function isNumberChar(char: string) {
return /\d/.test(char)
}