Files
ihrm/node_modules/collect.js/docs/api/every.md
Nikhil Ravi Cybrosys e1794e7422 [UPDT]translations in the views (#4)
[UPDT]Translations in the views
[FIX]major bug fixes
2023-05-18 15:05:28 +05:30

11 lines
293 B
Markdown
Executable File

# `every()`
The every method may be used to verify that all elements of a collection pass a given truth test:
```js
collect([1, 2, 3, 4]).every((value, key) => value > 2);
// false
```
[View source on GitHub](https://github.com/ecrmnn/collect.js/blob/master/src/methods/every.js)