scrabble-solver
Version:
Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.
9 lines (6 loc) • 299 B
text/typescript
import { Game, Locale } from '@scrabble-solver/types';
import * as languages from './languages';
export const hasConfig = (game: Game, locale: Locale): boolean => {
const configs = Object.values(languages);
return configs.some((config) => config.game === game && config.locale === locale);
};