swc/crates/swc_bundler/tests/.cache/deno/ed19cffd14f75acca4e78146263c090a69aa1f8b.ts
2021-11-09 20:42:49 +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;
}