UNPKG

@automattic/calypso-products

Version:

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

11 lines 627 B
import { isGoogleWorkspaceProductSlug } from './is-google-workspace-product-slug'; import { isGSuiteProductSlug } from './is-gsuite-product-slug'; /** * Determines whether the specified product slug refers to either G Suite or Google Workspace. * @param {string} productSlug - slug of the product * @returns {boolean} true if the slug refers to G Suite or Google Workspace, false otherwise */ export function isGSuiteOrGoogleWorkspaceProductSlug(productSlug) { return isGSuiteProductSlug(productSlug) || isGoogleWorkspaceProductSlug(productSlug); } //# sourceMappingURL=is-gsuite-or-google-workspace-product-slug.js.map