UNPKG

scrabble-solver

Version:

Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Crossplay, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.

8 lines (6 loc) 204 B
import { type Comparator } from '@/types'; export const createStringComparator: (locale: string) => Comparator<string> = (locale) => { return (a, b) => { return a.localeCompare(b, locale); }; };