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

9 lines
451 B
JavaScript

// Metro module 196 (f197).
export function isNativeFunction(a0) {
return typeof a0 === "function" ? a0.toString().indexOf("[native code]") > -1 : typeof a0 === "function";
}
export function hasNativeConstructor(a0, a1) {
const constructor = Object.getPrototypeOf(a0).constructor;
return constructor.name === a1 && (typeof constructor === "function" ? constructor.toString().indexOf("[native code]") > -1 : typeof constructor === "function");
}