tap
tap<
A,B>(f): (tuple) =>Tuple<A,B>
Defined in: Core/Tuple.ts:141
Runs a side effect with both values without changing the pair. Useful for logging or debugging in the middle of a pipeline.
Type Parameters
Section titled “Type Parameters”A
B
Parameters
Section titled “Parameters”(a, b) => void
Returns
Section titled “Returns”(
tuple):Tuple<A,B>
Parameters
Section titled “Parameters”Tuple<A, B>
Returns
Section titled “Returns”Tuple<A, B>