[F] isUrl
function isUrl(path): boolean;
Determines whether a path starts with a URL scheme (e.g. starts with http://
, ftp://
, file://
, etc.).
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
path | string |
Returns
Section titled “Returns”boolean