Converts a plain object representing a collection of values into an Iterable of T.
if object does not have the shape expected for a collection of T, or if any of its elements does not have the shape expected for a T.