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

28 lines
700 B
JavaScript

// Metro module 4316 (f4317).
import * as _isObject from "./isObject";
import * as _nativeKeysIn from "./nativeKeysIn";
import * as _isPrototype from "./isPrototype";
const hasOwnProperty = Object.prototype.hasOwnProperty;
module.exports = function baseKeysIn(a0) {
if (_isObject(a0)) {
const r8 = _isPrototype(a0);
const r23 = [];
for (const key in a0) {
let r11 = key != "constructor";
if (!r11) {
let r13 = !r8;
if (!r8) {
const call = hasOwnProperty.call;
r13 = hasOwnProperty.call(a0, key);
}
r11 = r13;
}
if (r11) {
r23.push(key);
}
}
return r23;
}
return _nativeKeysIn(a0);
};