tree:

deepMap(tree, options)

This is a shorthand form of calling the map built-in function with the option deep: true.