Scan
Scan(f, expr)applies
fto each element ofexprand returnsNull.
Scan(f, expr, levelspec)applies
fto each level specified bylevelspecofexpr.
Examples
>> Scan(Print, {1, 2, 3}) 1 2 3
>> Scan(Print, f(g(h(x))), 2) h(x) g(h(x))
>> Scan(Print)({1, 2}) 1 2
>> Scan(Return, {1, 2})1Implementation status
- ✅ - full supported