@unction/aside
TypeScript icon, indicating that this package has built-in type declarations

12.13.0 • Public • Published

@unction/aside

Tests Stability Dependencies

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"

Readme

Keywords

Package Sidebar

Install

npm i @unction/aside

Weekly Downloads

5

Version

12.13.0

License

SEE LICENSE IN LICENSE

Unpacked Size

14.9 kB

Total Files

7

Last publish

Collaborators

  • krainboltgreene