decord/source/4433_FromPropertyDescriptor.js

19 lines
534 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 4433
2026-07-24 07:16:23 +00:00
// Function ID: 38922
2026-07-20 16:05:17 +00:00
// Name: FromPropertyDescriptor
2026-07-23 10:11:24 +00:00
// Dependencies: [4427, 518, 4434]
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
// Module 4433 (FromPropertyDescriptor)
2026-07-20 16:05:17 +00:00
export default function FromPropertyDescriptor(arg0) {
if (undefined !== arg0) {
2026-07-23 10:11:24 +00:00
if (!require(4427) /* isPropertyDescriptor */(arg0)) {
let tmp5 = require(518);
2026-07-20 16:05:17 +00:00
const prototype = tmp5.prototype;
tmp5 = new tmp5("Assertion failed: `Desc` must be a Property Descriptor");
throw tmp5;
}
}
2026-07-23 10:11:24 +00:00
return require(4434) /* fromPropertyDescriptor */(arg0);
2026-07-20 16:05:17 +00:00
};