IRI

class IRI

static isIRI(object)

Returns `true` if the call argument is an IRI.

🏷 @return {boolean}

🏷 @static

🏷 @see

https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier

static parse(iri, base)

Parses an IRI.

All arguments will be stringified if they are not already strings.

🏷 @return {(URL|UniformResourceName)}

🏷 @throws {TypeError}

🏷 @static

🏷 @see

https://developer.mozilla.org/en-US/docs/Web/API/URL/URL

🏷 @see

IRI

class UniformResourceLocator extends URL

constructor(url, base)

Creates a URL object.

🏷 @see

https://developer.mozilla.org/en-US/docs/Web/API/URL

toString()

Shows the original URL string that created this object.

Fixes a bug in the `toString` method of the default URL class that returns

an ASCII-encoded version of the URL string.

🏷 @return {string}

🏷 @see

https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier

class UniformResourceName