foldWhile<O2> method

Conveyor<F, O2> foldWhile<O2>(
  1. O2 z,
  2. Function2<O2, O, O2> f,
  3. Function1<O2, bool> p
)

Implementation

Conveyor<F, O2> foldWhile<O2>(O2 z, Function2<O2, O, O2> f, Function1<O2, bool> p) => pipe(Pipe.scanWhile(z, f, p)).lastOr(z);