decord/source/__polyfill/07xxx/module_7106.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

17 lines
312 B
JavaScript

// Module ID: 7106
// Function ID: 7107
// Dependencies: []
// Exports: findLastIndex
// Module 7106
export const findLastIndex = function findLastIndex(arg0, fn) {
let diff = arg0.length - 1;
if (0 <= diff) {
while (!fn(arg0[diff])) {
diff = diff - 1;
}
return diff;
}
return -1;
};