(
f: (
input: Option.Option<E>,
options: SchemaAST.ParseOptions
) => Effect.Effect<Option.Option<T>, SchemaIssue.Issue, R>
)
| 809 | * @since 4.0.0 |
| 810 | */ |
| 811 | export function transformOptionalEffect<T, E, R = never>( |
| 812 | f: ( |
| 813 | input: Option.Option<E>, |
| 814 | options: SchemaAST.ParseOptions |
| 815 | ) => Effect.Effect<Option.Option<T>, SchemaIssue.Issue, R> |
| 816 | ): Getter<T, E, R> { |
| 817 | return makeGetter({ _tag: "TransformOptionalEffect", transform: f }) |
| 818 | } |
| 819 | |
| 820 | /** |
| 821 | * Creates a getter that always returns `None`, effectively omitting the value from output. |
no test coverage detected