decord/source/4500_iterateValue.js

22 lines
480 B
JavaScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 4500
// Function ID: 4501
2026-07-29 08:29:29 +00:00
// Name: iterateValue
2026-08-05 07:35:12 +00:00
// Dependencies: [4501, 4502]
2026-07-29 08:29:29 +00:00
2026-08-05 07:35:12 +00:00
// Module 4500 (iterateValue)
2026-07-29 08:29:29 +00:00
export default function iterateValue(arg0) {
2026-08-05 07:35:12 +00:00
const tmp3 = require(4501) /* getIterator */(arg0);
2026-07-29 08:29:29 +00:00
if (tmp3) {
if (arguments.length > 1) {
2026-08-05 07:35:12 +00:00
let tmp9 = tmp(4502)(tmp3, arguments[1]);
2026-07-29 08:29:29 +00:00
} else {
2026-08-05 07:35:12 +00:00
tmp9 = tmp(4502)(tmp3);
2026-07-29 08:29:29 +00:00
}
return tmp9;
} else {
const tmp7 = new TypeError("non-iterable value provided");
throw tmp7;
}
};