MCPcopy Index your code
hub / github.com/ThatGuySam/doesitarm / logArraysDifference

Function logArraysDifference

helpers/array.js:8–21  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

6}
7
8export function logArraysDifference (a, b) {
9 const [ aOnly, bOnly ] = getSymmetricDifference(a, b)
10
11
12 console.log( 'Missing from first list:', aOnly )
13 console.log( 'Missing from second list:', bOnly )
14
15 console.log( `List difference Count ${ aOnly.length } / ${ bOnly.length }`, )
16
17 return {
18 aOnly,
19 bOnly,
20 }
21}

Callers 1

BuildListsClass · 0.90

Calls 1

getSymmetricDifferenceFunction · 0.85

Tested by

no test coverage detected