UNPKG

@automattic/calypso-products

Version:

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

10 lines 486 B
import { GSUITE_BASIC_SLUG, GSUITE_BUSINESS_SLUG } from './constants'; /** * Determines whether the specified product slug is for G Suite Basic or Business. * @param {string} productSlug - slug of the product * @returns {boolean} true if the slug refers to G Suite Basic or Business, false otherwise */ export function isGSuiteProductSlug(productSlug) { return [GSUITE_BASIC_SLUG, GSUITE_BUSINESS_SLUG].includes(productSlug); } //# sourceMappingURL=is-gsuite-product-slug.js.map