I have the following array
// Exmaple
[
['morning', 'afternoon'],
['morning'],
['morning', 'afternoon'],
['morning', 'afternoon'],
['morning']
]
I may have the same one but with afternoon in every array.
I need to check if a given value exists in all arrays, for example if I check for 'morning' it should return true
, but if I check for 'afternoon' it should return false
because in the example array above not all of them have 'afternoon'