Tree.

traversePath(tree, path)

This traverses a map-based tree using the slash-separated keys in the string path. Example: Given the path “foo/bar”, this traverses the tree using the keys “foo/” and “bar”, then returns the resulting value.