29 lines
1.3 KiB
React
29 lines
1.3 KiB
React
/* Metro module 190; source: unknown; dependencies: [] */
|
|
function _fun2654(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2654, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:215:6, offset: 0x00c861fb, size: 67 bytes, params: 8, frame: 17
|
|
const closure = function(a0) {
|
|
var r0;
|
|
var value = typeof a0 === 'function';
|
|
if (value) {
|
|
value = a0.toString();
|
|
value = value.indexOf('[native code]');
|
|
value = value > -1;
|
|
r0 = value;
|
|
} else {
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.isNativeFunction = closure;
|
|
exports.hasNativeConstructor = hasNativeConstructor;
|
|
}
|
|
|
|
function hasNativeConstructor(a0, a1) { // fn#2656, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:215:249, offset: 0x00c86275, size: 58 bytes, params: 3, frame: 12
|
|
const Object = global.Object;
|
|
const getPrototypeOf = Object.getPrototypeOf;
|
|
const constructor = Reflect.apply(getPrototypeOf, Object, [a0]).constructor;
|
|
return constructor.name === a1 && isNativeFunction(constructor);
|
|
}
|
|
|