isCastedIterable method
Returns true
if o
is a Iterable<E>
where E
is arguments0 T
.
E
should be valid. See isValidGenericType.- This TypeInfo should be an Iterable. See isIterable.
Implementation
bool isCastedIterable(Object? o) {
if (!isIterable || o is! Iterable) return false;
var arg0 = arguments0;
return arg0 != null &&
arg0.isValidGenericType &&
arg0.callCasted(<E>() => o is Iterable<E>);
}