Is it possible to drop an exact matching array out from another array?
Two arrays:
let array1: any[] = [[1], [2,3], [1,2]];
let array2: any[] = [[1]];
What I want to do:
function deleteArrayFromArray(array2) {
// delete given array2 from array1
}
Result should be:
array1 or new array --> [[2,3], [1,2]]
Is there something like lodash's filter, but with an exact array to array comparison:
_.filter(array1, array2);