flow
Call Signature
Section titled “Call Signature”flow<
A,B>(ab): (…a) =>B
Defined in: Composition/flow.ts:41
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
Parameters
Section titled “Parameters”(…a) => B
Returns
Section titled “Returns”(…a) => B
Example
Section titled “Example”pipe for immediate value transformation
Call Signature
Section titled “Call Signature”flow<
A,B,C>(ab,bc): (…a) =>C
Defined in: Composition/flow.ts:42
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
C
Parameters
Section titled “Parameters”(…a) => B
(b) => C
Returns
Section titled “Returns”(…a) => C
Example
Section titled “Example”pipe for immediate value transformation
Call Signature
Section titled “Call Signature”flow<
A,B,C,D>(ab,bc,cd): (…a) =>D
Defined in: Composition/flow.ts:43
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
C
D
Parameters
Section titled “Parameters”(…a) => B
(b) => C
(c) => D
Returns
Section titled “Returns”(…a) => D
Example
Section titled “Example”pipe for immediate value transformation
Call Signature
Section titled “Call Signature”flow<
A,B,C,D,E>(ab,bc,cd,de): (…a) =>E
Defined in: Composition/flow.ts:48
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
C
D
E
Parameters
Section titled “Parameters”(…a) => B
(b) => C
(c) => D
(d) => E
Returns
Section titled “Returns”(…a) => E
Example
Section titled “Example”pipe for immediate value transformation
Call Signature
Section titled “Call Signature”flow<
A,B,C,D,E,F>(ab,bc,cd,de,ef): (…a) =>F
Defined in: Composition/flow.ts:54
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
C
D
E
F
Parameters
Section titled “Parameters”(…a) => B
(b) => C
(c) => D
(d) => E
(e) => F
Returns
Section titled “Returns”(…a) => F
Example
Section titled “Example”pipe for immediate value transformation
Call Signature
Section titled “Call Signature”flow<
A,B,C,D,E,F,G>(ab,bc,cd,de,ef,fg): (…a) =>G
Defined in: Composition/flow.ts:61
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
C
D
E
F
G
Parameters
Section titled “Parameters”(…a) => B
(b) => C
(c) => D
(d) => E
(e) => F
(f) => G
Returns
Section titled “Returns”(…a) => G
Example
Section titled “Example”pipe for immediate value transformation
Call Signature
Section titled “Call Signature”flow<
A,B,C,D,E,F,G,H>(ab,bc,cd,de,ef,fg,gh): (…a) =>H
Defined in: Composition/flow.ts:69
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
C
D
E
F
G
H
Parameters
Section titled “Parameters”(…a) => B
(b) => C
(c) => D
(d) => E
(e) => F
(f) => G
(g) => H
Returns
Section titled “Returns”(…a) => H
Example
Section titled “Example”pipe for immediate value transformation
Call Signature
Section titled “Call Signature”flow<
A,B,C,D,E,F,G,H,I>(ab,bc,cd,de,ef,fg,gh,hi): (…a) =>I
Defined in: Composition/flow.ts:78
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
C
D
E
F
G
H
I
Parameters
Section titled “Parameters”(…a) => B
(b) => C
(c) => D
(d) => E
(e) => F
(f) => G
(g) => H
(h) => I
Returns
Section titled “Returns”(…a) => I
Example
Section titled “Example”pipe for immediate value transformation
Call Signature
Section titled “Call Signature”flow<
A,B,C,D,E,F,G,H,I,J>(ab,bc,cd,de,ef,fg,gh,hi,ij): (…a) =>J
Defined in: Composition/flow.ts:88
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
C
D
E
F
G
H
I
J
Parameters
Section titled “Parameters”(…a) => B
(b) => C
(c) => D
(d) => E
(e) => F
(f) => G
(g) => H
(h) => I
(i) => J
Returns
Section titled “Returns”(…a) => J
Example
Section titled “Example”pipe for immediate value transformation
Call Signature
Section titled “Call Signature”flow<
A,B,C,D,E,F,G,H,I,J,K>(ab,bc,cd,de,ef,fg,gh,hi,ij,jk): (…a) =>K
Defined in: Composition/flow.ts:99
Composes functions from left to right, returning a new function.
Unlike pipe, flow doesn’t take an initial value - it creates
a reusable pipeline that can be called later with arguments.
Use flow when you want to create a named, reusable transformation.
Use pipe when you want to immediately transform a value.
Fully typed for up to 10 steps. Beyond that TypeScript raises a compile error — split into named intermediate functions or use a cast.
Type Parameters
Section titled “Type Parameters”A extends readonly unknown[]
B
C
D
E
F
G
H
I
J
K
Parameters
Section titled “Parameters”(…a) => B
(b) => C
(c) => D
(d) => E
(e) => F
(f) => G
(g) => H
(h) => I
(i) => J
(j) => K
Returns
Section titled “Returns”(…a) => K
Example
Section titled “Example”pipe for immediate value transformation