summaryrefslogtreecommitdiff
path: root/utils/str.ts
diff options
context:
space:
mode:
Diffstat (limited to 'utils/str.ts')
-rw-r--r--utils/str.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/str.ts b/utils/str.ts
new file mode 100644
index 0000000..cbbc269
--- /dev/null
+++ b/utils/str.ts
@@ -0,0 +1 @@
+export const isNumeric = (symbol: string) => symbol <= "9" && symbol >= "0";