swc/bundler/tests/.cache/deno/ed19cffd14f75acca4e78146263c090a69aa1f8b.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

16 lines
293 B
TypeScript

// Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_includesWith.js
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;
}