summaryrefslogtreecommitdiff
path: root/node_modules/ua-parser/js/lib/helpers.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-08-10 10:38:44 +0200
committerMinteck <contact@minteck.org>2022-08-10 10:38:44 +0200
commitc6dbf0450566c40efc4a26f4f0717452b6ef95cd (patch)
treeb4be2d508223820d0a77d5a3e35e82684da3b6ec /node_modules/ua-parser/js/lib/helpers.js
downloadhornchat-mane.tar.gz
hornchat-mane.tar.bz2
hornchat-mane.zip
Initial commitHEADmane
Diffstat (limited to 'node_modules/ua-parser/js/lib/helpers.js')
-rw-r--r--node_modules/ua-parser/js/lib/helpers.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/ua-parser/js/lib/helpers.js b/node_modules/ua-parser/js/lib/helpers.js
new file mode 100644
index 0000000..19f305d
--- /dev/null
+++ b/node_modules/ua-parser/js/lib/helpers.js
@@ -0,0 +1,6 @@
+var DIGITS = /^\d/;
+
+exports.startsWithDigit = startsWithDigit;
+function startsWithDigit(str) {
+ return DIGITS.test(str);
+} \ No newline at end of file