UNPKG

@automattic/calypso-products

Version:

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

12 lines 497 B
import { camelOrSnakeSlug } from './camel-or-snake-slug'; import { PRODUCT_1GB_SPACE } from './constants'; /** * This deals with the tiered volume space addon. Also see ./is-space-upgrade.ts for other * storage products. * @param product Product name * @returns boolean indicating whether the product is a space addon. */ export function isTieredVolumeSpaceAddon(product) { return PRODUCT_1GB_SPACE === camelOrSnakeSlug(product); } //# sourceMappingURL=is-tiered-volume-space-addon.js.map