decord/source/4707_FromPropertyDescriptor.js
2026-08-25 06:04:03 +00:00

20 lines
592 B
JavaScript

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