---
title: getPreviousNode
name: node-functions-getpreviousnode
---

Return the previous node in the tree.

Returns a node or null.

{% highlight js %}
var node = node.getPreviousNode();
{% endhighlight %}
