Files
discord-decomp/_bundle/hasPropertyDescriptors.js
T
2026-11-01 12:12:55 +02:00

21 lines
504 B
JavaScript

// Metro module 1405 (f1406).
import * as _Module564 from "./Module564";
const hasPropertyDescriptors = function hasPropertyDescriptors() {
return !!_Module564;
};
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
let length;
if (_Module564) {
try {
length = _Module564([], "length", {
value: 1
}).length;
} catch ($e) {
return true;
}
return length !== 1;
}
return null;
};
module.exports = hasPropertyDescriptors;