mapSlices

mapSlices(A, dim, callback)

Try it yourself:

See also:
map
All functions