how to check if one array contains any item from another array
so for example I have 2 arrays,
array1["a","b","c"]andarray2["sus","explode","c"]how do I check if array1 contains any item from array 2? In this case the result would be
truesince array1 contains "c" and array2 contains "c" as well.