valueOrNull

fun valueOrNull(): T?

Shortcut function to ignore a failure.

Return

The value if the result is a Success or null otherwise