(option: Option.Option<A>)
| 3 | export * from '@effect-ts/core/Option' |
| 4 | |
| 5 | export const getUnsafe = <A>(option: Option.Option<A>): A => { |
| 6 | if (Option.isSome(option)) { |
| 7 | return option.value |
| 8 | } |
| 9 | |
| 10 | throw new Error('Option.getUnsafe: Option is None') |
| 11 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…