aboutsummaryrefslogtreecommitdiff
path: root/node_modules/is-extglob/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/is-extglob/index.js')
-rw-r--r--node_modules/is-extglob/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/node_modules/is-extglob/index.js b/node_modules/is-extglob/index.js
new file mode 100644
index 000000000..803047f74
--- /dev/null
+++ b/node_modules/is-extglob/index.js
@@ -0,0 +1,11 @@
+/*!
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
+ *
+ * Copyright (c) 2014-2015, Jon Schlinkert.
+ * Licensed under the MIT License.
+ */
+
+module.exports = function isExtglob(str) {
+ return typeof str === 'string'
+ && /[@?!+*]\(/.test(str);
+};