The object to check.
A boolean indicating whether the object is iterable.
This function checks if the given object is iterable by checking if the object is not null, is an object, and has a function for the Symbol.iterator property.
T - The type of the object to check.
isIterable([1, 2, 3]);;
//=> true
isIterable(5);;
//=> false
Generated using TypeDoc
Checks if the given object is iterable.