Skip to content

Node Equality

Elliot Chance edited this page Jan 25, 2020 · 1 revision

Node.Equals performs a shallow comparison between two nodes. The implementation is different depending on the types of nodes being compared. You should see the specific documentation for the Node.

Equality is not to be confused with the Is function seen on some of the nodes, such as Date.Is. The Is function is used to compare exact raw values in nodes.

DeepEqual tests if left and right are recursively equal.

Clone this wiki locally