We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/quartz-labs-dev/pabal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
locale-guards.ts•504 B
import {
APP_STORE_SUPPORTED_LOCALES,
GOOGLE_PLAY_SUPPORTED_LANGUAGES,
} from "./constants";
import type { AppStoreLocale, GooglePlayLanguage } from "./types";
export function isAppStoreLocale(locale: string): locale is AppStoreLocale {
return APP_STORE_SUPPORTED_LOCALES.includes(locale as AppStoreLocale);
}
export function isGooglePlayLanguage(
language: string
): language is GooglePlayLanguage {
return GOOGLE_PLAY_SUPPORTED_LANGUAGES.includes(
language as GooglePlayLanguage
);
}