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

Parameters

url: string | URL
optional
base: string | URL

Return Type

boolean