This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Developer Context Objects in Mathematica 5 /

Developer`ReplaceAllUnheld

FilledSmallSquare ReplaceAllUnheld[expr, rules] applies a rule or list of rules in an attempt to transform each subpart of expr that would be automatically evaluated.

FilledSmallSquare ReplaceAll operates on all subparts of an expression; ReplaceAllUnheld operates only on those subparts that would normally be evaluated.

FilledSmallSquare Example: Developer`ReplaceAllUnheld[If[a, a, a], a->b] LongRightArrow.

FilledSmallSquare See also: ReplaceAll, Hold, Verbatim.