15 lines
968 B
TypeScript
15 lines
968 B
TypeScript
/* Metro module 3775; source: modules/guild_role_subscriptions/PremiumRoleUtils.tsx; dependencies: [2] */
|
|
function _fun28577(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#28577, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3902:6, offset: 0x00f7dd8b, size: 96 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_role_subscriptions/PremiumRoleUtils.tsx');
|
|
exports.isSubscriptionRole = function(a0) {
|
|
return (a0 == null || a0.tags == null ? undefined : a0.tags.subscription_listing_id) != null;
|
|
};
|
|
exports.isSubscriptionRoleAvailableForPurchase = function(a0) {
|
|
var value = undefined;
|
|
return value !== (a0 == null || a0.tags == null ? value : a0.tags.available_for_purchase);
|
|
};
|
|
}
|
|
|