decord/source/4771_FromPropertyDescriptor.js

21 lines
592 B
JavaScript
Raw Normal View History

2026-08-26 06:04:24 +00:00
// Module ID: 4771
// Function ID: 4772
2026-08-24 06:08:38 +00:00
// Name: FromPropertyDescriptor
2026-08-26 06:04:24 +00:00
// Dependencies: [4765, 541, 4772]
2026-08-24 06:08:38 +00:00
2026-08-26 06:04:24 +00:00
// Module 4771 (FromPropertyDescriptor)
import isPropertyDescriptor from "isPropertyDescriptor" /* 4765 */;
import fromPropertyDescriptor from "fromPropertyDescriptor" /* 4772 */;
2026-08-24 06:08:38 +00:00
export default function FromPropertyDescriptor(arg0) {
if (undefined !== arg0) {
if (!isPropertyDescriptor(arg0)) {
const tmp5 = new tmp(541)("Assertion failed: `Desc` must be a Property Descriptor");
throw tmp5;
}
tmp = require;
}
return fromPropertyDescriptor(arg0);
};