source: node_modules/ramda/src/internal/_includesWith.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 228 bytes
Line 
1function _includesWith(pred, x, list) {
2 var idx = 0;
3 var len = list.length;
4
5 while (idx < len) {
6 if (pred(x, list[idx])) {
7 return true;
8 }
9
10 idx += 1;
11 }
12
13 return false;
14}
15
16module.exports = _includesWith;
Note: See TracBrowser for help on using the repository browser.