MCPcopy Index your code
hub / github.com/Effect-TS/effect / timeZoneNamedArbitrary

Function timeZoneNamedArbitrary

packages/effect/src/Schema.ts:6985–6986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6983).annotations({ identifier: "TimeZoneOffset" }) {}
6984
6985const timeZoneNamedArbitrary = (): LazyArbitrary<dateTime.TimeZone.Named> => (fc) =>
6986 fc.constantFrom(...Intl.supportedValuesOf("timeZone")).map(dateTime.zoneUnsafeMakeNamed)
6987
6988/**
6989 * Describes a schema that represents a `TimeZone.Named` instance.

Callers 1

timeZoneArbitraryFunction · 0.85

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected