toOption abstract method

Option<R> toOption()

Convert this Either to a Option:

Implementation

Option<R> toOption();