decord/source/4557_FromPropertyDescriptor.js

18 lines
491 B
JavaScript
Raw Normal View History

2026-08-03 11:20:01 +00:00
// Module ID: 4557
// Function ID: 4558
2026-07-29 08:29:29 +00:00
// Name: FromPropertyDescriptor
2026-08-03 11:20:01 +00:00
// Dependencies: [4551, 541, 4558]
2026-07-29 08:29:29 +00:00
2026-08-03 11:20:01 +00:00
// Module 4557 (FromPropertyDescriptor)
2026-07-29 08:29:29 +00:00
export default function FromPropertyDescriptor(arg0) {
if (undefined !== arg0) {
2026-08-03 11:20:01 +00:00
if (!require(4551) /* isPropertyDescriptor */(arg0)) {
2026-07-29 08:29:29 +00:00
const tmp5 = new tmp(541)("Assertion failed: `Desc` must be a Property Descriptor");
throw tmp5;
}
tmp = require;
}
2026-08-03 11:20:01 +00:00
return require(4558) /* fromPropertyDescriptor */(arg0);
2026-07-29 08:29:29 +00:00
};