diff options
Diffstat (limited to 'node_modules/is-unc-path/index.js')
-rw-r--r-- | node_modules/is-unc-path/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/is-unc-path/index.js b/node_modules/is-unc-path/index.js new file mode 100644 index 000000000..c0e0999ed --- /dev/null +++ b/node_modules/is-unc-path/index.js @@ -0,0 +1,8 @@ +'use strict'; + +var regex = require('unc-path-regex'); + +module.exports = function isUNC(fp) { + if (typeof fp !== 'string') return false; + return regex().test(fp); +}; |