ZVON > References > DOM2 Reference

lastChild (method )

Owning interface and usage:  
TreeWalker.lastChild()

Member of these other interfaces:  
none

Description:  
Moves the TreeWalker to the last visible child of the current node, and returns the new node. If the current node has no visible children, returns null, and retains the current node.

Parameters:  
none

Returns:  
Node -  The new node, or null if the current node has no children in the TreeWalker's logical view.

Exceptions:  
none