juxt
Call Signature
Section titled “Call Signature”juxt<
A,B,C>(fns): (a) => [B,C]
Defined in: Composition/juxt.ts:14
Applies an input to an array of functions and collects the results into a tuple.
Type Parameters
Section titled “Type Parameters”A
B
C
Parameters
Section titled “Parameters”[(a) => B, (a) => C]
Returns
Section titled “Returns”(
a): [B,C]
Parameters
Section titled “Parameters”A
Returns
Section titled “Returns”[B, C]
Example
Section titled “Example”Call Signature
Section titled “Call Signature”juxt<
A,B,C,D>(fns): (a) => [B,C,D]
Defined in: Composition/juxt.ts:15
Applies an input to an array of functions and collects the results into a tuple.
Type Parameters
Section titled “Type Parameters”A
B
C
D
Parameters
Section titled “Parameters”[(a) => B, (a) => C, (a) => D]
Returns
Section titled “Returns”(
a): [B,C,D]
Parameters
Section titled “Parameters”A
Returns
Section titled “Returns”[B, C, D]
Example
Section titled “Example”Call Signature
Section titled “Call Signature”juxt<
A,B,C,D,E>(fns): (a) => [B,C,D,E]
Defined in: Composition/juxt.ts:18
Applies an input to an array of functions and collects the results into a tuple.
Type Parameters
Section titled “Type Parameters”A
B
C
D
E
Parameters
Section titled “Parameters”[(a) => B, (a) => C, (a) => D, (a) => E]
Returns
Section titled “Returns”(
a): [B,C,D,E]
Parameters
Section titled “Parameters”A
Returns
Section titled “Returns”[B, C, D, E]
Example
Section titled “Example”Call Signature
Section titled “Call Signature”juxt<
A,B>(fns): (a) =>B[]
Defined in: Composition/juxt.ts:21
Applies an input to an array of functions and collects the results into a tuple.
Type Parameters
Section titled “Type Parameters”A
B
Parameters
Section titled “Parameters”readonly (a) => B[]
Returns
Section titled “Returns”(
a):B[]
Parameters
Section titled “Parameters”A
Returns
Section titled “Returns”B[]