Skip to content
Advertisement

Tag: match

Find matching values in two arrays

I want to find the matching values between two arrays and create a json array setting true if the values matched or false if they didn’t. I know, that the values in the secondArray will always match some values from the first array and that it will always be smaller, because the secondArray is created based on the first one.

Advertisement