UNPKG

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 (7 loc) 262 B
export const isMac = (): boolean => { if (!globalThis.navigator) { return false; } // eslint-disable-next-line @typescript-eslint/no-deprecated return globalThis.navigator.platform.startsWith('Mac') || globalThis.navigator.platform === 'iPhone'; };