Returns the encapsulated value A if this instance represents Some or null if it is None.
null
import arrow.core.Noneimport arrow.core.Someimport io.kotest.matchers.shouldBefun test() { Some(12).getOrNull() shouldBe 12 None.getOrNull() shouldBe null}