Converts an Option<A> to a Validated<E, A>, where the provided ifNone output value is returned as Invalid when the specified Option is None.
Option<A>
Validated<E, A>
ifNone
Option
None