thames-technology/monads

Unexpected behavior with `Ok(None)`

Opened this issue · 0 comments

Version: 0.5.10

I have code like this in Vue3 project:

Ok(None).unwrap().isSome()

I expect the above code to return false, however it returns true.

I would like to know if there is an explanation for this behaviour ?