I have a value and want to know if it\'s an iteratable object literal, before I iterate it.
How do I do that?
You could also do something like:
if (someObject.constructor == Object) { // do your thing }
you can read more about it here