--- title: getPreviousNode name: node-functions-getpreviousnode --- Get the previous node in the tree. Does the same as using the *up* key. Returns a node or null. {% highlight js %} var node = node.getPreviousNode(); {% endhighlight %}