Url.isAbsolute
isAbsolute() -> boolean
Description
Returns true
if the URL is an absolute path (i.e. host/domain is present).
url'/my/page'.isAbsolute() //= false url'http://site.com/my/page'.isAbsolute() //= true
Returns true
if the URL is an absolute path (i.e. host/domain is present).
url'/my/page'.isAbsolute() //= false url'http://site.com/my/page'.isAbsolute() //= true