Url.functions.toJsUrl
Function: toJsUrl()
Section titled “Function: toJsUrl()”toJsUrl(
url):URL
Defined in: packages/fx-fetch/src/Url/toJsUrl.ts:20
Converts a Url.Url to a native globalThis.URL.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”URL
Example
Section titled “Example”import { Url } from 'fx-fetch';
const url = Url.make('https://api.example.com');const jsUrl = Url.toJsUrl(url);0.1.0