Travis build: 503

This commit is contained in:
30secondsofcode
2018-09-22 11:38:18 +00:00
parent 74e43a9af4
commit 0ed297997a
15 changed files with 67 additions and 54 deletions

View File

@ -491,6 +491,15 @@ average(1, 2, 3);
</details>
### Uncategorized
<details>
<summary>View contents</summary>
* [`pipeLog`](#pipelog)
</details>
---
@ -9138,6 +9147,32 @@ yesNo('Foo', true); // true
<br>[⬆ Back to top](#table-of-contents)
---
## Uncategorized
### pipeLog
Use `console.log` in a pipeline as this function simply encloses it and returns the passed value. This is especially useful for debugging when you want to log a variable's value before its usage.
Logs a value and returns it.
```js
const pipeLog = data => console.log(data) || data;
```
<details>
<summary>Examples</summary>
```js
pipeLog(1); // logs `1` and returns `1`
```
</details>
<br>[⬆ Back to top](#table-of-contents)
## Collaborators
| [<img src="https://github.com/Chalarangelo.png" width="100px;"/>](https://github.com/Chalarangelo)<br/> [<sub>Angelos Chalaris</sub>](https://github.com/Chalarangelo) | [<img src="https://github.com/flxwu.png" width="100px;"/>](https://github.com/flxwu)<br/> [<sub>Felix Wu</sub>](https://github.com/Pl4gue) | [<img src="https://github.com/fejes713.png" width="100px;"/>](https://github.com/fejes713)<br/> [<sub>Stefan Feješ</sub>](https://github.com/fejes713) | [<img src="https://github.com/kingdavidmartins.png" width="100px;"/>](https://github.com/kingdavidmartins)<br/> [<sub>King David Martins</sub>](https://github.com/iamsoorena) | [<img src="https://github.com/iamsoorena.png" width="100px;"/>](https://github.com/iamsoorena)<br/> [<sub>Soorena Soleimani</sub>](https://github.com/iamsoorena) |

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@ Use `console.log` in a pipeline as this function simply encloses it and returns
Logs a value and returns it.
```js
const pipeLog = data => console.log(data) || data
const pipeLog = data => console.log(data) || data;
```
```js

View File

@ -209,6 +209,7 @@ pick:object,array,intermediate
pickBy:object,array,function,intermediate
pipeAsyncFunctions:adapter,function,promise,intermediate
pipeFunctions:adapter,function,intermediate
pipeLog:uncategorized
pluralize:string,intermediate
powerset:math,beginner
prefix:browser,utility,intermediate