ui
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
var nestedValue = require('../helpers/nestedValue');
|
||||
|
||||
module.exports = function whereNotBetween(key, values) {
|
||||
return this.filter(function (item) {
|
||||
return nestedValue(item, key) < values[0] || nestedValue(item, key) > values[values.length - 1];
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user