checkWord

actual suspend fun checkWord(word: String, maxSuggestions: Int): WordCheckResult(source)

Checks a single word and returns a structured result indicating if it is spelled correctly. When misspelled, includes up to maxSuggestions suggestions (may be empty).

Words in the user dictionary (see addToDictionary) or marked via ignoreWord are reported as CorrectWord.

expect suspend fun checkWord(word: String, maxSuggestions: Int = 5): WordCheckResult(source)

Checks a single word and returns a structured result indicating if it is spelled correctly. When misspelled, includes up to maxSuggestions suggestions (may be empty).

Words in the user dictionary (see addToDictionary) or marked via ignoreWord are reported as CorrectWord.

actual suspend fun checkWord(word: String, maxSuggestions: Int): WordCheckResult(source)

Checks a single word and returns a structured result indicating if it is spelled correctly. When misspelled, includes up to maxSuggestions suggestions (may be empty).

Words in the user dictionary (see addToDictionary) or marked via ignoreWord are reported as CorrectWord.

actual suspend fun checkWord(word: String, maxSuggestions: Int): WordCheckResult(source)

Checks a single word and returns a structured result indicating if it is spelled correctly. When misspelled, includes up to maxSuggestions suggestions (may be empty).

Words in the user dictionary (see addToDictionary) or marked via ignoreWord are reported as CorrectWord.