You are here

move

move moves the node to the specified destination.

move(destination)

move(destination) this method moves the node to the new parent destination.

Parameters

destination
The destination node.

Returns

Boolean

Returns true on success, or false on failure to move

move(source, destination)

move(source, destination) this method moves the specified source node to the new parent destination.

Parameters

source
The source node.
destination
The destination node.

Returns

Boolean

Returns true on success, or false on failure to move