Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- result = totalrows.filter(function(Row) {
- // i think es6 has functional all, but i forget what it's called, so
- var passing = true;
- columnFilters.map(function(Column) {
- if (!(Column.filter.passes(Row.item))) {
- passing = false;
- break;
- }
- });
- return passing;
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement