Convert Either to nullable R?.
R?
Note: this loses information about a possible Left value, converting it to simply null.
null
R? toNullable();