un Do
Removes the last node in the main line, effectively undoing the last move, and returns the parent node. This function only operates on the primary variation (main line).
Return
The parent node of the removed move.
Since
1.0.0-beta.1
Author
lunalobos
Throws
if the last move node has a null parent.