Checks if the specified obj is an iterable by checking if it has a callable Symbol.iterator. Returns false for strings even when they are iterable to avoid iterating over the characters in a string.
Object to check
Checks if the specified obj is an iterable by checking if it has a callable Symbol.iterator. Returns false for strings even when they are iterable to avoid iterating over the characters in a string.