( self: Option.Option<Effect<A, E, R>> )
| 13336 | * @category Optional Wrapping & Unwrapping |
| 13337 | */ |
| 13338 | export const transposeOption = <A = never, E = never, R = never>( |
| 13339 | self: Option.Option<Effect<A, E, R>> |
| 13340 | ): Effect<Option.Option<A>, E, R> => { |
| 13341 | return option_.isNone(self) ? succeedNone : map(self.value, option_.some) |
| 13342 | } |
| 13343 | |
| 13344 | /** |
| 13345 | * Applies an `Effect` on an `Option` and transposes the result. |
nothing calls this directly
no test coverage detected
searching dependent graphs…