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

Function tag

packages/effect/src/Schema.ts:2977–2978  ·  view source on GitHub ↗
(tag: Tag)

Source from the content-addressed store, hash-verified

2975 * @since 3.10.0
2976 */
2977export const tag = <Tag extends AST.LiteralValue>(tag: Tag): tag<Tag> =>
2978 Literal(tag).pipe(propertySignature, withConstructorDefault(() => tag))
2979
2980/**
2981 * @category api interface

Callers 1

TaggedStructFunction · 0.70

Calls 2

LiteralFunction · 0.70
pipeMethod · 0.65

Tested by

no test coverage detected