decord/source/6848_arrayIncludesWith.js
2026-07-22 07:54:56 +00:00

21 lines
391 B
JavaScript

// Module ID: 6848
// Function ID: 54111
// Name: arrayIncludesWith
// Dependencies: []
// Module 6848 (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;
};