aboutsummaryrefslogtreecommitdiff
path: root/node_modules/is-unc-path/index.js
blob: c0e0999edf70856d11def0888cb3ae69e66f8f1a (plain)
1
2
3
4
5
6
7
8
'use strict';

var regex = require('unc-path-regex');

module.exports = function isUNC(fp) {
  if (typeof fp !== 'string') return false;
  return regex().test(fp);
};