UNPKG
layaair2-cmd
Version:
latest (1.6.15)
1.6.15
1.6.14
1.6.13
1.6.12
1.6.11
1.6.10
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.20
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.1
1.0.0
layaair version 2 toolkit
layaair2-cmd
/
node_modules
/
is-unc-path
/
index.js
11 lines
(8 loc)
•
217 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'use strict'
;
var
regex =
require
(
'unc-path-regex'
)();
module
.
exports
=
function
(
filepath
) {
if
(
typeof
filepath !==
'string'
) {
throw
new
TypeError
(
'expected a string'
); }
return
regex.
test
(filepath); };