This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

MapAll

MapAll
or applies f to every subexpression in expr.
Apply to every subpart of an expression:
Alternative input form:
Apply to every subpart of an expression:
In[1]:=
Click for copyable input
Out[1]=
 
Alternative input form:
In[1]:=
Click for copyable input
Out[1]=
MapAll can be used on expressions with any head:
The function can be mapped onto the heads as well:
MapAll can be used on sparse arrays:
Apply to heads as well as ordinary parts of expressions:
Show nesting structure of an expression:
Leaves are visited before roots:
MapAll is equivalent to a specific level specification in Map:
MapAll maps also around the whole expression; Map does not:
New in 1