flow
Call Signature
Section titled “Call Signature”flow<
A,B>(ab): (…a) =>B
Defined in: Composition/flow.ts:40
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
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”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: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
Parameters
Section titled “Parameters”(…a) => B
(b) => C
Returns
Section titled “Returns”(…
a):C
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”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:47
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
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”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:52
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
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”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:58
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
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”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:65
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
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”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:73
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
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”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:82
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
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”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:92
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
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”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:114
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
Parameters
Section titled “Parameters”…A
Returns
Section titled “Returns”K
Example
Section titled “Example”pipe for immediate value transformation