decord/source/4589_iterateValue.js

22 lines
480 B
JavaScript
Raw Normal View History

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