Garry's Mod Wiki

DTree_Node:IsRootNode

  boolean DTree_Node:IsRootNode()

Description

Returns true if DTree_Node:GetRoot is the same as DTree_Node:GetParentNode of this node.

Returns

1 boolean
If this is a root node.