Private/is_url.ps1

1
2
3
4
5
# Returns [bool]
function is_url([string] $Url ) {
    [Uri]::IsWellFormedUriString($URL, [UriKind]::Absolute)
}