Comparing arrays: if array item is included at least once, the test should pass

Apologies this is probably an easy problem but I am not 100% sure as to which ChaiJS test to use

say I generate an array of items from the response body:

let matches = [];
for (i = 0; i < response.length; i++) {
  //   console.log(object[i].taskCode);

And that array may look like: [ "2000", "2001", "2004", "2004", "2004", "2004", "2004", "2004", "2006", "2046"]

In a data file, I have an array that looks like: ["2046", "2004", "2006"]

so the test is something like: pm.expect(matches) not sure what to put here (taskCodes);

What I am trying to do with the test, is say, as long as the array ‘matches’ contains the values from ‘taskCodes’ at least once, it passes. However if the taskCodes array has an item the matches array does not, it should fail. Duplicate values do not matter.

Apologies everyone, this was faily straightforward. The answer obviously was: .to.include.members