I am familiar with the _.without
function
This will remove certain values from the array:
_.without([1, 2, 1, 3], 1, 2);
Is there a built-in function / lodash (or - how can I implement an effective one) that removes not a specific value, but var with the given value of the / field
_.without([ { number: 1}, {number: 2} ], 1)
source
share