decord/source/4718_isFullyPopulatedPropertyDescriptor.js

24 lines
715 B
JavaScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 4718
// Function ID: 4719
2026-07-20 16:05:17 +00:00
// Name: isFullyPopulatedPropertyDescriptor
2026-08-25 06:04:03 +00:00
// Dependencies: [4701]
2026-08-24 06:08:38 +00:00
2026-08-25 06:04:03 +00:00
// Module 4718 (isFullyPopulatedPropertyDescriptor)
import isPropertyDescriptor from "isPropertyDescriptor" /* 4701 */;
2026-07-20 16:05:17 +00:00
export default function isFullyPopulatedPropertyDescriptor(IsAccessorDescriptor) {
2026-08-24 06:08:38 +00:00
let tmp = isPropertyDescriptor(arg1);
2026-07-20 16:05:17 +00:00
if (tmp) {
tmp = "[[Enumerable]]" in arg1;
}
if (tmp) {
tmp = "[[Configurable]]" in arg1;
}
if (tmp) {
tmp = IsAccessorDescriptor.IsAccessorDescriptor(arg1) || IsAccessorDescriptor.IsDataDescriptor(arg1);
2026-07-29 08:29:29 +00:00
const tmp3 = IsAccessorDescriptor.IsAccessorDescriptor(arg1) || IsAccessorDescriptor.IsDataDescriptor(arg1);
2026-07-20 16:05:17 +00:00
}
return tmp;
};