Using lodah - how to remove the object by it's value?
here is my try:
var array = ['Education', 'Medicine'];
values = [
{
"Category":"Medicine"
},
{
"Category":"Medicine"
},
{
"Category":"Development"
},
{
"Category":"Education"
}
]
const x = _.without(values, array);
console.log(x); expected value is :
values = [{
"Category":"Development"
},]