Closed dgouyette closed 7 years ago
val stringOpt: Option[String] = None stringOpt.orEmpty // "" val intOpt: Option[Int] = None intOpt.orEmpty // 0 val listOpt: Option[List[Int]] = None listOpt.orEmpty // List()
I'm going to create a pull request for this :)
@dgouyette Please check my PR : https://github.com/scala-hamsters/hamsters/pull/44