how to iterate on map in ts 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);
});