Version: v0.8.1 - Beta.  We welcome contributors & feedback.

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

See Also