init
This commit is contained in:
14
node_modules/ramda/es/internal/_includesWith.js
generated
vendored
Normal file
14
node_modules/ramda/es/internal/_includesWith.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default function _includesWith(pred, x, list) {
|
||||
var idx = 0;
|
||||
var len = list.length;
|
||||
|
||||
while (idx < len) {
|
||||
if (pred(x, list[idx])) {
|
||||
return true;
|
||||
}
|
||||
|
||||
idx += 1;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
Reference in New Issue
Block a user