wallet-core/node_modules/is-unc-path/index.js
2016-10-10 03:43:44 +02:00

9 lines
167 B
JavaScript

'use strict';
var regex = require('unc-path-regex');
module.exports = function isUNC(fp) {
if (typeof fp !== 'string') return false;
return regex().test(fp);
};