I have two hashmaps, hashmap1 and hashmap2. Each hashmap has multiple keys with multiple values for each key.
var hashmap1 = {
a:[
'aaa',
'bbb'
]
b:[
'ccc',
'ddd'
]
};
var hashmap2 = {
a:[
'aaa',
'bbb',
'ccc',
]
b:[
'ddd',
'eee',
'fff'
]
};
In the above example, I want to check if all of values for each key within hashmap1 exist within values of hashmap2.
So in the above example all values within hashmap1 are present within the values of hashmap2. If this is the case maybe to mark a variable as true else mark it as false.
Thanks for the help