Scan
Scan[fn, list]
evaluates fn[elem]
for each element in list
.
Attributes[Scan] := {Protected}
Simple examples
In[2]:= Catch[CompoundExpression[Scan[Function[If[IntegerQ[Slot[1]], Null, Throw[False]]], {a}], True]]
Out[2]= False
Scan[fn, list]
evaluates fn[elem]
for each element in list
.
Attributes[Scan] := {Protected}
In[2]:= Catch[CompoundExpression[Scan[Function[If[IntegerQ[Slot[1]], Null, Throw[False]]], {a}], True]]
Out[2]= False