getSpellCheckerLanguages

fun getSpellCheckerLanguages(): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/String>(source)

An array of language codes the spellchecker is enabled for. If this list is empty the spellchecker will fallback to using en-US. By default on launch if this setting is an empty list Electron will try to populate this setting with the current OS locale. This setting is persisted across restarts.

!NOTE On macOS, the OS spellchecker is used and has its own list of languages. On macOS, this API will return whichever languages have been configured by the OS.