uh
This commit is contained in:
parent
4d5f81f7e5
commit
df7c642077
10 changed files with 440 additions and 157 deletions
11
src/compilers/bindings/Checker.ts
Normal file
11
src/compilers/bindings/Checker.ts
Normal 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)
|
||||
}
|
||||
Reference in a new issue