I have a variable that could be an Object, a Map, or neither. I can easily check for objects with typeof, but I need to conditionally Map.map() the
typeof
Map.map()