Unevaluated[expr]
represents the unevaluated form of expr when it appears as the argument to a function.
Unevaluated
Unevaluated[expr]
represents the unevaluated form of expr when it appears as the argument to a function.
Examples
open all close allBasic Examples (1)
Feed an unevaluated expression to Length:
Length[Unevaluated[5 + 6 + 7 + 8]]Applications (1)
Use HoldAll and Unevaluated to suppress evaluation of symbols wherever they would occur:
SetAttributes[symbolLength, HoldAll];
symbolLength[s_Symbol] := StringLength[SymbolName[Unevaluated[s]]]Find the length of a symbol's name even if it has a value:
xyzzy = 42;symbolLength[xyzzy]Properties & Relations (3)
Unevaluated works only where it appears; it is not propagated:
f[x_] := g[x]f[Unevaluated[1 + 1]]Unevaluated stops Evaluate:
Hold[Evaluate[Unevaluated[1 + 2]]]Unevaluated inside a held function remains:
SetAttributes[f, HoldAll]f[Unevaluated[1 + 2]]Tech Notes
Related Guides
History
Introduced in 1991 (2.0)
Text
Wolfram Research (1991), Unevaluated, Wolfram Language function, https://reference.wolfram.com/language/ref/Unevaluated.html.
CMS
Wolfram Language. 1991. "Unevaluated." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Unevaluated.html.
APA
Wolfram Language. (1991). Unevaluated. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Unevaluated.html
BibTeX
@misc{reference.wolfram_2026_unevaluated, author="Wolfram Research", title="{Unevaluated}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/Unevaluated.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_unevaluated, organization={Wolfram Research}, title={Unevaluated}, year={1991}, url={https://reference.wolfram.com/language/ref/Unevaluated.html}, note=[Accessed: 13-June-2026]}