decord/source/4696_Get.js
2026-08-25 06:04:03 +00:00

23 lines
562 B
JavaScript

// Module ID: 4696
// Function ID: 4697
// Name: Get
// Dependencies: [4650, 541, 4697, 575]
// Module 4696 (Get)
import isObject from "isObject" /* 4650 */;
export default function Get(arg0, arg1) {
if (isObject(arg0)) {
if (tmp(4697)(arg1)) {
return arg0[arg1];
} else {
let tmpResult = tmp(541);
tmpResult = new tmpResult("Assertion failed: P is not a Property Key, got " + tmp(575)(arg1));
throw tmpResult;
}
} else {
const tmp5 = new tmp(541)("Assertion failed: Type(O) is not Object");
throw tmp5;
}
};