Head
Head[expr] gives the head of expr.
Examples
Get the head of various expressions:
Head[{1, 2, 3}]
(* List *)
Head[f[x, y]]
(* f *)
Head[5]
(* Integer *)
Head[3.14]
(* Real *)Please visit the official Wolfram Language Reference for more details.