Function to find the intersection between two arrays
intersection([1, 2, 3], [1], [1]); // return [1]
intersection([1, 2, 4, 7], [4, 6, 7]); // return [4, 7]
{T[]}
Generated using TypeDoc
Function to find the intersection between two arrays
intersection([1, 2, 3], [1], [1]); // return [1]
intersection([1, 2, 4, 7], [4, 6, 7]); // return [4, 7]