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

7 lines
331 B
JavaScript

// Metro module 628 (f629).
let c554_0 = /^(?:0|[1-9]\d*)$/;
module.exports = function isIndex(a0, a1) {
const r5 = a1 == null ? 9007199254740991 : a1;
return !!r5 && (typeof a0 !== "number" ? typeof a0 !== "symbol" ? c554_0.test(a0) : typeof a0 !== "symbol" : typeof a0 === "number") && a0 > -1 && a0 % 1 === 0 && a0 < r5;
};