Checks if value is a Map Iterator - includes map.entries(), map.values(), map.keys(), map[Symbol.iterator]() etc.
Currently, it's not possible to check if a value is a Map Entries iterator at runtime (although node & chrome do it, internally!). Same applies at peeking at the values, without altering the internal iterator state (thus, prohibited)!
Checks if value is a Map Iterator - includes
map.entries(),map.values(),map.keys(),map[Symbol.iterator]()etc.Currently, it's not possible to check if a value is a Map Entries iterator at runtime (although node & chrome do it, internally!). Same applies at peeking at the values, without altering the internal iterator state (thus, prohibited)!
See
https://stackoverflow.com/questions/47446272/javascript-how-can-i-tell-if-an-object-is-a-map-iterator/48180059#48180059