decord/source/7080_arrayIncludesWith.js
2026-08-11 06:20:06 +00:00

21 lines
390 B
JavaScript

// Module ID: 7080
// Function ID: 7081
// Name: arrayIncludesWith
// Dependencies: []
// Module 7080 (arrayIncludesWith)
export default function arrayIncludesWith(arg0, arg1, arg2) {
let num = 0;
if (null != arg0) {
num = arg0.length;
}
let num2 = 0;
if (0 < num) {
while (!arg2(arg1, arg0[num2])) {
num2 = num2 + 1;
}
return true;
}
return false;
};