import { camelOrSnakeSlug } from './camel-or-snake-slug'; import type { WithCamelCaseSlug, WithSnakeCaseSlug } from './types'; export function isUnlimitedSpace( product: WithCamelCaseSlug | WithSnakeCaseSlug ): boolean { return 'unlimited_space' === camelOrSnakeSlug( product ); }