MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / _reject

Function _reject

public/javascripts/async.js:431–437  ·  view source on GitHub ↗
(eachfn, arr, iterator, callback)

Source from the content-addressed store, hash-verified

429 async.filterSeries = doSeries(_filter);
430
431 function _reject(eachfn, arr, iterator, callback) {
432 _filter(eachfn, arr, function(value, cb) {
433 iterator(value, function(v) {
434 cb(!v);
435 });
436 }, callback);
437 }
438 async.reject = doParallel(_reject);
439 async.rejectLimit = doParallelLimit(_reject);
440 async.rejectSeries = doSeries(_reject);

Callers

nothing calls this directly

Calls 3

_filterFunction · 0.85
iteratorFunction · 0.70
cbFunction · 0.70

Tested by

no test coverage detected