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

export const SHARED_LANGUAGE_COOKIE = 'rentaldrivego-language'

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