import { validURL } from "https://deno.land/x/dxx@rf/src/lib/$shared.ts";
Convert the supplied text string (s
) into a valid URL (or undefined
if s
[relative to base
] isn't a valid URL).
no-throw
~ function returnsundefined
upon any error
Parameters
optional
base: URL = [UNSUPPORTED]