summaryrefslogtreecommitdiff
path: root/node_modules/ua-parser/js/lib/helpers.js
diff options
context:
space:
mode:
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