Skip to main content
URL.parse - URL - Web documentation
method URL.parse
URL.parse(
url: string | URL,
base?: string | URL,
): URL | null

Parameters

url: string | URL
optional
base: string | URL

Return Type

URL | null
Back to top