forwardLog
The forwardLog() function logs the received value (side effect) then returns it unchanged, handy for inspecting a pipeline without breaking it.
Interactive example
Syntax
typescript
function forwardLog<
const GenericInput extends unknown
>(input: GenericInput): GenericInput;Parameters
input: The value to log and return.
Return value
The same value passed as an argument, after sending it to standard output.
