MCPcopy
hub / github.com/Effect-TS/effect / URLFromSelf

Class URLFromSelf

packages/effect/src/Schema.ts:4922–4927  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4920 * @since 3.11.0
4921 */
4922export class URLFromSelf extends instanceOf(URL, {
4923 typeConstructor: { _tag: "URL" },
4924 identifier: "URLFromSelf",
4925 arbitrary: (): LazyArbitrary<URL> => (fc) => fc.webUrl().map((s) => new URL(s)),
4926 pretty: () => (url) => url.toString()
4927}) {}
4928
4929/** @ignore */
4930class URL$ extends transformOrFail(

Callers

nothing calls this directly

Calls 3

instanceOfFunction · 0.70
mapMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected