pipe3Func<T, U, V, W> function

W pipe3Func<T, U, V, W>(
  1. Func0<T> f1,
  2. Func1<T, U> f2,
  3. Func1<U, V> f3,
  4. Func1<V, W> f4,
)

Implementation

W pipe3Func<T, U, V, W>(
  final Func0<T> f1,
  final Func1<T, U> f2,
  final Func1<U, V> f3,
  final Func1<V, W> f4,
) =>
    f4(f3(f2(f1())));