decord/source/4434_FromPropertyDescriptor.js

19 lines
534 B
JavaScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 4434
// Function ID: 38933
2026-07-20 16:05:17 +00:00
// Name: FromPropertyDescriptor
2026-07-25 08:10:48 +00:00
// Dependencies: [4428, 518, 4435]
2026-07-20 16:05:17 +00:00
2026-07-25 08:10:48 +00:00
// Module 4434 (FromPropertyDescriptor)
2026-07-20 16:05:17 +00:00
export default function FromPropertyDescriptor(arg0) {
if (undefined !== arg0) {
2026-07-25 08:10:48 +00:00
if (!require(4428) /* isPropertyDescriptor */(arg0)) {
2026-07-23 10:11:24 +00:00
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-25 08:10:48 +00:00
return require(4435) /* fromPropertyDescriptor */(arg0);
2026-07-20 16:05:17 +00:00
};