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

23 lines
504 B
JavaScript

// Metro module 126 (f127).
let c119_0 = Symbol("isPlatformObject");
let c119_1 = Symbol("clonePlatformObject");
export function setPlatformObject(a0, a1) {
if (typeof a0 === "function") {
a0.prototype[c119_0] = true;
if (a1) {
a0.prototype[c119_1] = a1.clone;
}
} else {
a0[c119_0] = true;
if (a1) {
a0[c119_1] = a1.clone;
}
}
}
export function isPlatformObject(a0) {
return c119_0 in a0;
}
export function getPlatformObjectClone(a0) {
return a0[c119_1];
}