Unevaluated

Unevaluated[expr]

represents the unevaluated form of expr when it appears as the argument to a function.

Details

  • f[Unevaluated[expr]] effectively works by temporarily setting attributes so that f holds its argument unevaluated, then evaluating f[expr].

Examples

open allclose all

Basic Examples  (1)

Feed an unevaluated expression to Length:

In[1]:=
Click for copyable input
Out[1]=

Applications  (1)

Properties & Relations  (3)

See Also

Hold  HoldFirst  HoldAll  HoldComplete  Inactivate  Evaluate  ReplacePart  MapAt  HoldPattern

Tutorials

Introduced in 1991
(2.0)