padNull

fun padNull(): Pair<A?, B?>(source)

Return this Ior as Pair of nullables]

Example:

import arrow.core.Ior

fun main() {
val right = Ior.Right(12).padNull() // Result: Pair(null, 12)
val left = Ior.Left(12).padNull() // Result: Pair(12, null)
val both = Ior.Both("power", 12).padNull() // Result: Pair("power", 12)

println("right = $right")
println("left = $left")
println("both = $both")
}