decord/source/4771_FromPropertyDescriptor.js
2026-08-26 06:04:24 +00:00

20 lines
592 B
JavaScript

// Module ID: 4771
// Function ID: 4772
// Name: FromPropertyDescriptor
// Dependencies: [4765, 541, 4772]
// Module 4771 (FromPropertyDescriptor)
import isPropertyDescriptor from "isPropertyDescriptor" /* 4765 */;
import fromPropertyDescriptor from "fromPropertyDescriptor" /* 4772 */;
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);
};