(literal: Tag)
| 6085 | * @since 3.10.0 |
| 6086 | */ |
| 6087 | export function tag<Tag extends SchemaAST.LiteralValue>(literal: Tag): tag<Tag> { |
| 6088 | return Literal(literal).pipe(withConstructorDefault(Effect.succeed(literal))) |
| 6089 | } |
| 6090 | |
| 6091 | /** |
| 6092 | * Creates a literal `_tag` schema that is omitted from encoded output. |
no test coverage detected