RxSwift: SkipWhile Operator
skipWhile { predicate }
- Receives a predicate and skips everything up until the predicate is
false
and then let everything through. -
true
= skipfalse
= don’t skipWorks the opposite to filter
!
----7--9-----1--4---->
skipWhile { x != 1 }
-------------1--4---->
< All Posts