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

9 lines
406 B
JavaScript

// Metro module 574 (f575).
import * as _callBindBasic from "./callBindBasic";
import * as _GetIntrinsic from "./GetIntrinsic";
let c520_2 = _callBindBasic([_GetIntrinsic("%String.prototype.indexOf%")]);
module.exports = function callBoundIntrinsic(a0, a1) {
const r12 = _GetIntrinsic(a0, !!a1);
return typeof r12 === "function" ? c520_2(a0, ".prototype.") > -1 ? _callBindBasic([r12]) : r12 : r12;
};