Skip to content

IListTuple5Ops<T1, T2, T3, T4, T5>

extensionIListTuple5Ops<T1, T2, T3, T4, T5>onIList<Record>

Provides additional functions on an IList of a 5 element tuple.

Methods

dropWhileN() extension

IList<Record>dropWhileN(boolFunction(T1,T2,T3,T4,T5)p)

Available on IList<A>, provided by the IListTuple5Ops<T1, T2, T3, T4, T5> extension

Implementation
dart
IList<(T1, T2, T3, T4, T5)> dropWhileN(Function5<T1, T2, T3, T4, T5, bool> p) =>
    dropWhile(p.tupled);

filterN() extension

IList<Record>filterN(boolFunction(T1,T2,T3,T4,T5)p)

Available on IList<A>, provided by the IListTuple5Ops<T1, T2, T3, T4, T5> extension

Implementation
dart
IList<(T1, T2, T3, T4, T5)> filterN(Function5<T1, T2, T3, T4, T5, bool> p) => filter(p.tupled);

filterNotN() extension

IList<Record>filterNotN(boolFunction(T1,T2,T3,T4,T5)p)

Available on IList<A>, provided by the IListTuple5Ops<T1, T2, T3, T4, T5> extension

Implementation
dart
IList<(T1, T2, T3, T4, T5)> filterNotN(Function5<T1, T2, T3, T4, T5, bool> p) =>
    filterNot(p.tupled);

flatMapN() extension

IList<T6>flatMapN<T6>(IList<T6>Function(T1,T2,T3,T4,T5)f,);

Available on IList<A>, provided by the IListTuple5Ops<T1, T2, T3, T4, T5> extension

Implementation
dart
IList<T6> flatMapN<T6>(Function5<T1, T2, T3, T4, T5, IList<T6>> f) => flatMap(f.tupled);

foreachN() extension

voidforeachN(voidFunction(T1,T2,T3,T4,T5)f)

Available on IList<A>, provided by the IListTuple5Ops<T1, T2, T3, T4, T5> extension

Implementation
dart
void foreachN(Function5<T1, T2, T3, T4, T5, void> f) => foreach(f.tupled);

mapN() extension

IList<T6>mapN<T6>(T6Function(T1,T2,T3,T4,T5)f)

Available on IList<A>, provided by the IListTuple5Ops<T1, T2, T3, T4, T5> extension

Implementation
dart
IList<T6> mapN<T6>(Function5<T1, T2, T3, T4, T5, T6> f) => map(f.tupled);

takeWhileN() extension

IList<Record>takeWhileN(boolFunction(T1,T2,T3,T4,T5)p)

Available on IList<A>, provided by the IListTuple5Ops<T1, T2, T3, T4, T5> extension

Implementation
dart
IList<(T1, T2, T3, T4, T5)> takeWhileN(Function5<T1, T2, T3, T4, T5, bool> p) =>
    takeWhile(p.tupled);