typescript iterate through map entries code example
Example: typescript loop over map with value as array
myMap.forEach((value: boolean, key: string) => {
console.log(key, value);
});
myMap.forEach((value: boolean, key: string) => {
console.log(key, value);
});