(literal: Tag)
| 6282 | * @since 3.10.0 |
| 6283 | */ |
| 6284 | export function tag<Tag extends SchemaAST.LiteralValue>(literal: Tag): tag<Tag> { |
| 6285 | return Literal(literal).pipe(withConstructorDefault(Effect.succeed(literal))) |
| 6286 | } |
| 6287 | /** |
| 6288 | * Creates a literal `_tag` schema that is omitted from encoded output. |
| 6289 | * |
no test coverage detected