15 lines
498 B
JavaScript
15 lines
498 B
JavaScript
// Metro module 4480 (f4481).
|
|
import * as _isObject from "./isObject_4434";
|
|
import * as _Module541 from "./Module541";
|
|
import * as _isPropertyKey from "./isPropertyKey";
|
|
import * as _inspect_ from "./inspect_";
|
|
module.exports = function Get(a0, a1) {
|
|
if (_isObject(a0)) {
|
|
if (_isPropertyKey(a1)) {
|
|
return a0[a1];
|
|
}
|
|
throw new _Module541("Assertion failed: P is not a Property Key, got " + _inspect_(a1));
|
|
}
|
|
throw new _Module541("Assertion failed: Type(O) is not Object");
|
|
};
|