Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

find new values in array based on another array apps script

// elements to filter out.
const keys = [['a','b','c']],
keySet = new Set(keys[0]),

// example data.
data = [['a',1,2],
        ['c',4,3],
        ['d',3,4]],
out = data.filter(([item0])=>!keySet.has(item0));
console.info(out);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #values #array #based #array #apps #script
ADD COMMENT
Topic
Name
2+7 =