Files
discord-decomp/sources/by-id/module-07376.jsx
T
2026-07-27 16:20:00 +03:00

74 lines
2.6 KiB
React

/* Metro module 7376; source: unknown; dependencies: [] */
function _fun59406(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59406, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7554:6, offset: 0x016ea18c, size: 247 bytes, params: 8, frame: 20
const closure = function(a0) {
return typeof a0 === 'object' && a0 !== null && '__sentry_template_string__' in a0 && '__sentry_template_values__' in a0;
};
const closure2 = function(a0) {
return isBuiltin_59407(a0, 'Object');
};
const closure3 = function(a0, a1) {
var value;
var error;
try {
value = a0 instanceof a1;
} catch (error) {
return false;
}
return value;
};
let Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
Object = global.Object;
const env0_0 = Object.prototype.toString;
exports.isDOMError = function(a0) {
return isBuiltin_59407(a0, 'DOMError');
};
exports.isDOMException = function(a0) {
return isBuiltin_59407(a0, 'DOMException');
};
exports.isElement = isElement_59413;
exports.isError = function(a0) {
var value2 = toString.call(a0);
if (value2 === '[object Error]') {
return true;
}
if (value2 === '[object Exception]') {
return true;
}
if (value2 === '[object DOMException]') {
return true;
}
if (value2 === '[object WebAssembly.Exception]') {
return true;
}
return isInstanceOf_59410(a0, global.Error);
};
exports.isErrorEvent = function(a0) {
return isBuiltin_59407(a0, 'ErrorEvent');
};
exports.isEvent = isEvent_59416;
exports.isInstanceOf = closure3;
exports.isParameterizedString = closure;
exports.isPlainObject = closure2;
exports.isPrimitive = isPrimitive_59417;
exports.isRegExp = function(a0) {
return isBuiltin_59407(a0, 'RegExp');
};
exports.isString = function(a0) {
return isBuiltin_59407(a0, 'String');
};
exports.isSyntheticEvent = isSyntheticEvent_59420;
exports.isThenable = function(a0) {
var value = a0;
var Boolean = global.Boolean;
return Boolean(value && value.then && typeof value.then === 'function');
};
exports.isVueViewModel = function(a0) {
var r0;
r0 = typeof a0 !== 'object' || a0 === null;
r0 = !r0 ? !a0.__isVue && !a0._isVue : r0;
return !r0;
};
}