decord/source/4452_FromPropertyDescriptor.js
2026-08-24 06:08:38 +00:00

20 lines
592 B
JavaScript

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