Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

hasProtocol

deprecated
@deprecated

Same as { hasProtocol(inputString, { acceptRelative: true })

function hasProtocol(inputString: string, acceptRelative: boolean): boolean;
§
hasProtocol(inputString: string, acceptRelative: boolean): boolean
[src]

§Parameters

§
inputString: string
[src]
§
acceptRelative: boolean
[src]

§Return Type

§
boolean
[src]