Head
Examples
open all close allBasic Examples (3)
Scope (3)
The head of a function entered with an operator:
Head[a + b + c]The head of a compound expression:
Head[f[x][y][z]]Wrap the result in Hold to prevent the result from evaluating:
Head[Unevaluated[InverseFunction[Sin][1]], Hold]Without the second argument, the InverseFunction expression would evaluate:
Head[Unevaluated[InverseFunction[Sin][1]]]Applications (2)
Find the cases with a head of Integer:
Cases[{2, 1, x, 3, y}, _Integer]Head /@ %Define a function that extracts the head and guarantees no evaluation occurs:
SetAttributes[safeHead, HoldAllComplete]
safeHead[e_] := Head[Unevaluated[e], HoldComplete]safeHead[Cos'[x]]Without the HoldComplete, a Function object would be returned:
%//ReleaseHoldProperties & Relations (2)
Possible Issues (1)
The head is based on FullForm:
Head[a / b]FullForm[a / b]Neat Examples (1)
Head always eventually burrows to a symbol:
FixedPoint[Head, f[x][y][z]]FixedPoint[Head, {3, 4, 5}]Related Guides
History
Introduced in 1988 (1.0) | Updated in 2020 (12.1)
Text
Wolfram Research (1988), Head, Wolfram Language function, https://reference.wolfram.com/language/ref/Head.html (updated 2020).
CMS
Wolfram Language. 1988. "Head." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/Head.html.
APA
Wolfram Language. (1988). Head. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Head.html
BibTeX
@misc{reference.wolfram_2026_head, author="Wolfram Research", title="{Head}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/Head.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_head, organization={Wolfram Research}, title={Head}, year={2020}, url={https://reference.wolfram.com/language/ref/Head.html}, note=[Accessed: 12-June-2026]}