UNPKG
@flex-development/pathe
Version:
latest (4.0.2)
4.0.2
4.0.1
4.0.0
3.0.0
2.0.0
1.0.3
1.0.2
1.0.1
1.0.0
Universal drop-in replacement for node:path
github.com/flex-development/pathe
flex-development/pathe
@flex-development/pathe
/
dist
/
lib
/
is-url.mjs
10 lines
(9 loc)
•
247 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
canParseURL
from
"#internal/can-parse-url"
;
import
isURLObject
from
"#internal/is-url-object"
;
function
isURL
(
value
) {
return
isURLObject
(value) ||
canParseURL
(value); }
var
is_url_default = isURL;
export
{ is_url_default
as
default
};