Creates a validated Url from a string.
The raw URL string
A branded Url value
When URL is invalid or not HTTP/HTTPS
const url = makeUrl("https://example.com/article"); Copy
const url = makeUrl("https://example.com/article");
Creates a validated Url from a string.