hasProtocol deprecated@deprecatedSame 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]