mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-06 09:18:26 -04:00
11 lines
264 B
JavaScript
11 lines
264 B
JavaScript
define(['./_cb', './filter', './negate'], function (_cb, filter, negate) {
|
|
|
|
// Return all the elements for which a truth test fails.
|
|
function reject(obj, predicate, context) {
|
|
return filter(obj, negate(_cb(predicate)), context);
|
|
}
|
|
|
|
return reject;
|
|
|
|
});
|