UNPKG
choo-shortcache
Version:
latest (0.0.0)
0.0.0
choo nanocomponent cache shortcut
choo-shortcache
/
example
/
node_modules
/
is-extglob
/
index.js
12 lines
(10 loc)
•
260 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/*! * 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); };