@automattic/calypso-products
Version:
This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.
10 lines • 465 B
JavaScript
import { GSUITE_EXTRA_LICENSE_SLUG } from './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
*/
export function isGSuiteExtraLicenseProductSlug(productSlug) {
return productSlug === GSUITE_EXTRA_LICENSE_SLUG;
}
//# sourceMappingURL=is-gsuite-extra-license-product-slug.js.map