UNPKG

@automattic/calypso-products

Version:

This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.

14 lines 853 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isGSuiteOrExtraLicenseProductSlug = isGSuiteOrExtraLicenseProductSlug; const is_gsuite_extra_license_product_slug_1 = require("./is-gsuite-extra-license-product-slug"); const is_gsuite_product_slug_1 = require("./is-gsuite-product-slug"); /** * Determines whether the specified product slug refers to any type of G Suite product. * @param {string} productSlug - slug of the product * @returns {boolean} true if the slug refers to any G Suite product, false otherwise */ function isGSuiteOrExtraLicenseProductSlug(productSlug) { return (0, is_gsuite_product_slug_1.isGSuiteProductSlug)(productSlug) || (0, is_gsuite_extra_license_product_slug_1.isGSuiteExtraLicenseProductSlug)(productSlug); } //# sourceMappingURL=is-gsuite-or-extra-license-product-slug.js.map