OptionStreamOps
class AnyVal
trait Matchable
class Any
Value members
Concrete methods
Filters any 'None'.
Filters any 'None'.
- Example
scala> Stream(Some(1), Some(2), None, Some(3), None).unNone.toList res0: List[Int] = List(1, 2, 3)
Filters any 'None'.
Filters any 'None'.
scala> Stream(Some(1), Some(2), None, Some(3), None).unNone.toList
res0: List[Int] = List(1, 2, 3)