swc/crates/swc_bundler/tests/.cache/deno/ed19cffd14f75acca4e78146263c090a69aa1f8b.ts

16 lines
293 B
TypeScript
Raw Normal View History

// 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;
}