Sets a value which marks the misspelled word as duplicate. A duplicate word is not misspelled, but it has the same text as the word in front of it.

<void> MisspelledWord.setIsDuplicate(<Boolean> isDuplicate, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
isDuplicate Indicates whether the word is marked as duplicate.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.