WLJS LogoWLJS Notebook

HoldAllComplete

HoldAllComplete is an attribute which specifies that all arguments to a function are not to be modified or looked at in any way during evaluation.

Examples

Define function with HoldAllComplete:

SetAttributes[f, HoldAllComplete];
f[Sequence[1, 2, 3]]
(* f[Sequence[1, 2, 3]] *)

Compare with HoldAll:

SetAttributes[g, HoldAll];
g[Sequence[1, 2, 3]]
(* g[1, 2, 3] *)

Please visit the official Wolfram Language Reference for more details.

On this page