Function9Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
extension Function9Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> on T9 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8)Provides additional functions on functions with 9 parameters.
Properties
curried extension no setter
T9 Function(T8) Function(T7) Function(T6) Function(T5) Function(T4) Function(T3) Function(T2) Function(T1) Function(T0) get curriedReturn the curried form of this function.
Available on Function9<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, provided by the Function9Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> extension
Implementation
Function9C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> get curried =>
(t0) =>
(t1) =>
(t2) =>
(t3) =>
(t4) =>
(t5) => (t6) => (t7) => (t8) => this(t0, t1, t2, t3, t4, t5, t6, t7, t8);tupled extension no setter
T9 Function(Record) get tupledReturns a function that takes a tuple of parameters rather than individual parameters.
Available on Function9<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, provided by the Function9Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> extension
Implementation
Function1<(T0, T1, T2, T3, T4, T5, T6, T7, T8), T9> get tupled => (t) => t(this);Methods
andThen() extension
T10 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8) andThen<T10>(
T10 Function(T9) fn,
)Composes this function with the provided function, this function being applied first.
Available on Function9<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, provided by the Function9Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> extension
Implementation
Function9<T0, T1, T2, T3, T4, T5, T6, T7, T8, T10> andThen<T10>(Function1<T9, T10> fn) =>
(t0, t1, t2, t3, t4, t5, t6, t7, t8) => fn(this(t0, t1, t2, t3, t4, t5, t6, t7, t8));compose() extension
T9 Function(T10) compose<T10>(Record Function(T10) fn)Composes this function with the provided function, this function being applied first.
Available on Function9<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, provided by the Function9Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> extension
Implementation
Function1<T10, T9> compose<T10>(Function1<T10, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> fn) =>
(t10) => tupled(fn(t10));