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

14 lines
448 B
JavaScript

// Metro module 4493 (f4494).
import * as _isObject from "./isObject_4434";
import * as _Module541 from "./Module541";
import * as _isPropertyKey from "./isPropertyKey";
module.exports = function HasProperty(a0, a1) {
if (_isObject(a0)) {
if (_isPropertyKey(a1)) {
return a1 in a0;
}
throw new _Module541("Assertion failed: `P` must be a Property Key");
}
throw new _Module541("Assertion failed: `O` must be an Object");
};