index.js 167 B

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