MapAll
MapAll[f, expr] or f //@ expr applies f to every subexpression in expr.
Examples
MapAll[f, {a, {b, c}}]
(* f[{f[a], f[{f[b], f[c]}]}] *)Please visit the official Wolfram Language Reference for more details.
MapAll[f, expr] or f //@ expr applies f to every subexpression in expr.
MapAll[f, {a, {b, c}}]
(* f[{f[a], f[{f[b], f[c]}]}] *)Please visit the official Wolfram Language Reference for more details.