fromIterable<T extends JSAny?> static method
- @JS('from')
- JSIterableProtocol<
T> object
Creates a proper iterator from an object that just implements the Iterable protocol.
This is equivalent to JSIterator.from(object.iterator).
Implementation
@JS('from')
external static JSIterator<T> fromIterable<T extends JSAny?>(
JSIterableProtocol<T> object,
);