getOrNull

inline fun getOrNull(): T?

Returns the encapsulated value if this instance represents success or null if it is failure or Resultat.Loading.