@unction/aside
v12.13.0
Published
Takes a stack of functions, like `pipe()`, but always returns the second argument
Downloads
95
Readme
@unction/aside
Array<MapperFunctionType<A, B>> => A => A
Takes a stack of functions, like pipe(), but always returns the second argument.
pipe(
aside([(value) => value.toLowerCase(), console.log]),
processData
)(
"Hello, world"
) // "Hello, world"But also logs:
"hello, world"