Update pipeFunctions.md

This commit is contained in:
Angelos Chalaris
2020-01-13 10:06:13 +02:00
committed by GitHub
parent 1b2a9324ec
commit c8f50e6e44

View File

@ -1,6 +1,6 @@
---
title: pipeFunctions
tags: adapter,function,intermediate
tags: function,intermediate
---
Performs left-to-right function composition.
@ -17,4 +17,4 @@ const add5 = x => x + 5;
const multiply = (x, y) => x * y;
const multiplyAndAdd5 = pipeFunctions(multiply, add5);
multiplyAndAdd5(5, 2); // 15
```
```