Skip to content

Commit

Permalink
added missing varnmala_hindi characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciphrox committed Mar 1, 2025
1 parent d5cc50c commit 8793777
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ export const varnmala_english = Array.from(Array(26), (_, i) => ({
letter: String.fromCharCode(65 + i)
}));

export const varnmala_hindi = varnmala.filter((v) => !extraLetters.includes(v.code));
export const varnmala_hindi = varnmala
.filter((v) => !extraLetters.includes(v.code))
.concat(additionalConsonants.map((v, i) => ({ code: 2325 + i, letter: v })));

export const isAlphabet = (key: number) => (65 <= key && key <= 90) || (key >= 97 && key <= 122);

0 comments on commit 8793777

Please sign in to comment.