+4
-1
@@ -40,6 +40,9 @@ const englishNameToNativeName = require('./jsons/EnglishNameToNativeName.json') | ||
| const isRTL = (code) => { | ||
| if (!code in symbolToEnglishName) { | ||
| throw new Error(`Symbol ${code} is not exist or supported`) | ||
| } | ||
| if (!code in symbolToRtlWriting) { | ||
| return symbolToRtlWriting[code] | ||
| } | ||
| throw new Error(`Symbol ${code} is not exist or supported`) | ||
| return false | ||
| } | ||
@@ -46,0 +49,0 @@ |
+1
-1
| { | ||
| "name": "languagejs", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
36637
0.18%1332
0.23%