decord/source/546_getProto.js
2026-08-24 06:08:38 +00:00

32 lines
697 B
JavaScript

// Module ID: 546
// Function ID: 547
// Name: getProto
// Dependencies: [547, 548, 550]
// Module 546 (getProto)
import getPrototypeOf from "getPrototypeOf" /* 547 */;
import _mod548 from "module_548" /* 548 */;
import _mod550 from "module_550" /* 550 */;
if (getPrototypeOf) {
function getProto(arg0) {
return getPrototypeOf(arg0);
}
} else if (_mod548) {
getProto = function getProto(obj) {
if (obj) {
return _mod548(obj);
}
const typeError = new TypeError("getProto: not an object");
throw typeError;
};
} else {
getProto = null;
if (_mod550) {
getProto = function getProto(arg0) {
return _mod550(arg0);
};
}
}
export default getProto;