(f: (oe: Option.Option<E>) => Option.Option<T>)
| 798 | * @since 4.0.0 |
| 799 | */ |
| 800 | export function transformOptional<T, E>(f: (oe: Option.Option<E>) => Option.Option<T>): Getter<T, E> { |
| 801 | return makeGetter({ _tag: "TransformOptional", transform: f }) |
| 802 | } |
| 803 | |
| 804 | /** |
| 805 | * Creates a getter that effectfully transforms the full `Option`. |
no test coverage detected