Examplesopen allclose all
The head of a function entered with an operator:
The head of a compound expression:
Wrap the result in Hold to prevent the result from evaluating:
Without the second argument, the InverseFunction expression would evaluate:
Find the cases with a head of Integer:
Define a function that extracts the head and guarantees no evaluation occurs:
Without the HoldComplete, a Function object would be returned:
Properties & Relations (2)
Possible Issues (1)
The head is based on FullForm:
Neat Examples (1)
Head always eventually burrows to a symbol:
Wolfram Research (1988), Head, Wolfram Language function, https://reference.wolfram.com/language/ref/Head.html (updated 2020).
Wolfram Language. 1988. "Head." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/Head.html.
Wolfram Language. (1988). Head. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Head.html