JSFiddle - React, Tailwind, and code Playground
JavaScript
myArray = [[{name:'theValue'},{name:'notTheValue'}],[{name:'notTheValue'},{name:'notTheValue'}]];
toRemove = 'theValue';
myArray.forEach(function(entry) {
entry.forEach(function(entry) {
toDelete = $.grep(entry, function(a) {
return a == toRemove;
});
delete toDelete;
});
});