Delete unused functions
This commit is contained in:
parent
d479107eb5
commit
9ab95e6602
@ -221,16 +221,6 @@ class Translator {
|
||||
}
|
||||
}
|
||||
|
||||
static isHiragana(c) {
|
||||
const code = c.charCodeAt(0);
|
||||
return code >= 0x3040 && code < 0x30a0;
|
||||
}
|
||||
|
||||
static isKatakana(c) {
|
||||
const code = c.charCodeAt(0);
|
||||
return code >= 0x30a0 && code < 0x3100;
|
||||
}
|
||||
|
||||
static isKanji(c) {
|
||||
const code = c.charCodeAt(0);
|
||||
return code >= 0x4e00 && code < 0x9fb0 || code >= 0x3400 && code < 0x4dc0;
|
||||
|
Loading…
Reference in New Issue
Block a user