effect-io-ai

Package: @effect/platform
Module: Url

Url.setPathname

Updates the path of the URL.

Signature

declare const setPathname: { (pathname: string): (url: URL) => URL; (url: URL, pathname: string): URL; }

Source

Since v1.0.0