iterate typescript map 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);
});