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.

10 lines (7 loc) 197 B
import { isObject } from './isObject'; export const isError = (value: unknown): value is Error => { if (!isObject(value)) { return false; } return typeof value.message === 'string'; };