Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
is-absolute-url
/
index.js
blob: 06b2816173371b9694ff1bd10afbb8f78030d853 [
file
] [
log
] [
blame
]
'use strict'
;
module
.
exports
=
function
(
url
)
{
if
(
typeof
url
!==
'string'
)
{
throw
new
TypeError
(
'Expected a string'
);
}
return
/^[a-z][a-z0-9+.-]*:/
.
test
(
url
);
};