VideoChain-UI / src /core /isGoodWord.ts
jbilcke-hf's picture
jbilcke-hf HF staff
initial commit 🎬
7948ff4
raw
history blame contribute delete
195 Bytes
import { getGoodWords } from "./goodWords"
//
export const isGoodWord = async (word: string) => {
const { goodWords } = await getGoodWords()
return goodWords.has(word.trim().toLowerCase())
}