@automattic/calypso-products
Version:
This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.
13 lines • 609 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isGSuiteExtraLicenseProductSlug = isGSuiteExtraLicenseProductSlug;
const constants_1 = require("./constants");
/**
* Determines whether the specified product slug is for a G Suite extra license.
* @param {string} productSlug - slug of the product
* @returns {boolean} true if the slug refers to an extra license, false otherwise
*/
function isGSuiteExtraLicenseProductSlug(productSlug) {
return productSlug === constants_1.GSUITE_EXTRA_LICENSE_SLUG;
}
//# sourceMappingURL=is-gsuite-extra-license-product-slug.js.map