modify_if!

docblock
modify_if!(x, f, p)

Modify x applying f to each of its elements where the function p is true.