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.

4 lines (3 loc) 175 B
export const arrayEquals = <T>(array1: T[], array2: T[]): boolean => { return array1.length === array2.length && array1.every((value, index) => value === array2[index]); };