Skip to content

IterableOps<A>

extensionIterableOps<A>onIterable<A>

Interoperability extensions from Dart Iterable to ribs collection types.

Methods

toIList() extension

IList<A>toIList()

Converts this Iterable to an IList.

Available on Iterable<E>, provided by the IterableOps<A> extension

Implementation
dart
IList<A> toIList() => IList.fromDart(this);

toIndexedSeq() extension

IndexedSeq<A>toIndexedSeq()

Converts this Iterable to an IndexedSeq.

Available on Iterable<E>, provided by the IterableOps<A> extension

Implementation
dart
IndexedSeq<A> toIndexedSeq() => IndexedSeq.fromDart(this);

toIVector() extension

IVector<A>toIVector()

Converts this Iterable to an IVector.

Available on Iterable<E>, provided by the IterableOps<A> extension

Implementation
dart
IVector<A> toIVector() => IVector.fromDart(this);

toSeq() extension

RSeq<A>toSeq()

Converts this Iterable to a RSeq.

Available on Iterable<E>, provided by the IterableOps<A> extension

Implementation
dart
RSeq<A> toSeq() => RSeq.fromDart(this);