IsURL.jl

:link: Checks if the given string is an absolute URL
Author zlatanvasovic
Popularity
2 Stars
Updated Last
1 Year Ago
Started In
June 2020

IsURL

Build Status Coverage

Checks if the given string is an absolute URL.

Install

]add IsURL

Examples

julia> using IsURL

julia> isurl("https://julialang.org")
true

julia> isurl("mailto:someone@example.com")
true

julia> isurl("/foo/bar")
false

julia> isrelativeurl("../path/to/directory")
true

julia> isrelativeurl("./__file__")
true

julia> isrelativeurl("foo:bar")
false