Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
26 lines
731 B
TypeScript
26 lines
731 B
TypeScript
// Module ID: 17500
|
|
// Function ID: 17501
|
|
// Name: GuildLimitedAccessUtils
|
|
// Dependencies: [1074, 2]
|
|
// Exports: isLimitedAccessErrorCode
|
|
|
|
// Module 17500 (GuildLimitedAccessUtils)
|
|
import Constants from "Constants" /* 1074 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const AbortCodes = Constants.AbortCodes;
|
|
const result = size.fileFinishedImporting("modules/guild_limited_access/GuildLimitedAccessUtils.tsx");
|
|
|
|
export const isLimitedAccessErrorCode = function isLimitedAccessErrorCode(arg0, arg1) {
|
|
let tmp = 403 === arg0;
|
|
if (tmp) {
|
|
tmp = null != arg1;
|
|
}
|
|
if (tmp) {
|
|
tmp = arg1 >= AbortCodes.GUILD_LIMITED_ACCESS_DEFAULT;
|
|
}
|
|
if (tmp) {
|
|
tmp = arg1 <= AbortCodes.GUILD_LIMITED_ACCESS_MAX;
|
|
}
|
|
return tmp;
|
|
};
|