VxIterableBasics<E> extension
Utility extension methods for the native Iterable class.
- on
-
- Iterable<
E>
- Iterable<
Methods
-
all(
bool test(E element)) → bool -
Available on Iterable<
Alias for IterableE> , provided by the VxIterableBasics extension.every
. -
containsAll(
Iterable< E> other, {bool collapseDuplicates = true}) → bool -
Available on Iterable<
Returns true if every element inE> , provided by the VxIterableBasics extensionother
also exists inthis
. -
containsAny(
Iterable< E> other) → bool -
Available on Iterable<
ReturnsE> , provided by the VxIterableBasics extensiontrue
ifthis
contains at least one element also contained inother
. -
none(
bool test(E element)) → bool -
Available on Iterable<
ReturnsE> , provided by the VxIterableBasics extensiontrue
if no element ofthis
satisfiestest
. -
one(
bool test(E element)) → bool -
Available on Iterable<
ReturnsE> , provided by the VxIterableBasics extensiontrue
if there is exactly one element ofthis
which satisfiestest
. -
sum(
num addend(E)) → num -
Available on Iterable<
Returns the sum of all the values in this iterable, as defined byE> , provided by the VxIterableBasics extensionaddend
.