Update docs of set_if_neq
and replace_if_neq
#12919
Merged
set_if_neq
and replace_if_neq
#12919