Travis build: 1674
This commit is contained in:
@ -9,5 +9,5 @@ const all = arr => arr.every(Boolean);
|
||||
```
|
||||
|
||||
```js
|
||||
all([1,2,3]); // true
|
||||
all([1, 2, 3]); // true
|
||||
```
|
||||
|
||||
@ -9,5 +9,5 @@ const allBy = (arr, fn) => arr.every(fn);
|
||||
```
|
||||
|
||||
```js
|
||||
allBy([4,2,3], x => x > 1); // true
|
||||
allBy([4, 2, 3], x => x > 1); // true
|
||||
```
|
||||
|
||||
@ -9,5 +9,5 @@ const any = arr => arr.some(Boolean);
|
||||
```
|
||||
|
||||
```js
|
||||
any([0,0,1,0]); // true
|
||||
any([0, 0, 1, 0]); // true
|
||||
```
|
||||
|
||||
@ -9,5 +9,5 @@ const anyBy = (arr, fn) => arr.some(fn);
|
||||
```
|
||||
|
||||
```js
|
||||
anyBy([0,1,2,0], x => x >= 2); // true
|
||||
anyBy([0, 1, 2, 0], x => x >= 2); // true
|
||||
```
|
||||
|
||||
@ -9,5 +9,5 @@ const none = arr => !arr.some(Boolean);
|
||||
```
|
||||
|
||||
```js
|
||||
none([0,0,0]); // true
|
||||
none([0, 0, 0]); // true
|
||||
```
|
||||
|
||||
@ -9,5 +9,5 @@ const noneBy = (arr, fn) => !arr.some(fn);
|
||||
```
|
||||
|
||||
```js
|
||||
noneBy([0,1,3,0], x => x == 2); // true
|
||||
noneBy([0, 1, 3, 0], x => x == 2); // true
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user