map(treelike, options)

Transform the keys and/or values of a tree

JavaScript function behind the tree:map builtin.

map(treelike, [options])

  • treelike: any
  • options: any

Returns: any

Transform the keys and/or values of a tree.