@@ -278,6 +278,38 @@ interface Namespace {
278278 */
279279 iterCuAny : typeof iterCuAny ;
280280
281+ /**
282+ * Returns an iterator which cumulatively tests whether at least one iterated value passes a test implemented by a predicate function.
283+ *
284+ * @param iterator - source iterator
285+ * @param predicate - predicate function
286+ * @param thisArg - execution context
287+ * @returns iterator
288+ *
289+ * @example
290+ * var array2iterator = require( '@stdlib/array/to-iterator' );
291+ *
292+ * function isPositive( v ) {
293+ * return ( v > 0 );
294+ * }
295+ *
296+ * var it = ns.iterCuAnyBy( array2iterator( [ 0, 0, 0, 1, 0 ] ), isPositive );
297+ *
298+ * var v = it.next().value;
299+ * // returns false
300+ *
301+ * v = it.next().value;
302+ * // returns false
303+ *
304+ * v = it.next().value;
305+ * // returns false
306+ *
307+ * v = it.next().value;
308+ * // returns true
309+ *
310+ * v = it.next().value;
311+ * // returns true
312+ */
281313 iterCuAnyBy : typeof iterCuAnyBy ;
282314
283315 /**
@@ -313,6 +345,38 @@ interface Namespace {
313345 */
314346 iterCuEvery : typeof iterCuEvery ;
315347
348+ /**
349+ * Returns an iterator which cumulatively tests whether every iterated value passes a test implemented by a predicate function.
350+ *
351+ * @param iterator - source iterator
352+ * @param predicate - predicate function
353+ * @param thisArg - execution context
354+ * @returns iterator
355+ *
356+ * @example
357+ * var array2iterator = require( '@stdlib/array/to-iterator' );
358+ *
359+ * function isPositive( v ) {
360+ * return ( v > 0 );
361+ * }
362+ *
363+ * var it = ns.iterCuEveryBy( array2iterator( [ 1, 1, 1, 0, 1 ] ), isPositive );
364+ *
365+ * var v = it.next().value;
366+ * // returns true
367+ *
368+ * v = it.next().value;
369+ * // returns true
370+ *
371+ * v = it.next().value;
372+ * // returns true
373+ *
374+ * v = it.next().value;
375+ * // returns false
376+ *
377+ * v = it.next().value;
378+ * // returns false
379+ */
316380 iterCuEveryBy : typeof iterCuEveryBy ;
317381
318382 /**
0 commit comments