export type MarketplaceLanguage = 'en' | 'fr' | 'ar'

export const MARKETPLACE_LANGUAGE_COOKIE = 'marketplace-language'
export const SHARED_LANGUAGE_COOKIE = 'rentaldrivego-language'

export function isMarketplaceLanguage(value: string | null | undefined): value is MarketplaceLanguage {
  return value === 'en' || value === 'fr' || value === 'ar'
}
