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

293 B
Executable File

every()

The every method may be used to verify that all elements of a collection pass a given truth test:

collect([1, 2, 3, 4]).every((value, key) => value > 2);

// false

View source on GitHub