Skip to content

Commit

Permalink
README: add result of reject example
Browse files Browse the repository at this point in the history
  • Loading branch information
MZanggl committed Nov 15, 2020
1 parent 37a4407 commit e3aeb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ given.array(['a', 'b', 'c']).nth(-1) // 'c'
Return all items that don't pass the given truth test. Inverse of `Array.filter`.

```javascript
given.array([{ id: 1, disabled: true }]).reject(item => item.disabled)
given.array([{ id: 1, disabled: true }]).reject(item => item.disabled) // []
```

### until
Expand Down

0 comments on commit e3aeb61

Please sign in to comment.