WordCheckResult

sealed interface WordCheckResult(source)

The outcome of checking a single word with PlatformSpellChecker.checkWord.

Either CorrectWord (the word is spelled correctly) or MisspelledWord (it is not, with suggested replacements). when over the two variants, or use isMisspelled as a guard.

Inheritors

Properties

Link copied to clipboard
abstract val word: String

The word that was checked.