Home > harper.js > Suggestion > get_replacement_text
Get the text that is going to replace the problematic section. If [Self::kind] is SuggestionKind::Remove, this will return an empty string.
Signature:
get_replacement_text(): string;
Returns:
string