Replaces values within the provided input.
function (optional
value
as nullable any, optionalold
as nullable any, optionalnew
as nullable any) as nullable any
Replaces the old
value in the original value
with the new
value. This replacer function can be used in List.ReplaceValue
and Table.ReplaceValue
.
Replacer
Replace the value 11 with the value 10.
Replacer.ReplaceValue(11, 11, 10)
10