blockly > BasicCursor > prev
BasicCursor.prev() method
Find the previous node in the pre order traversal.
Signature:
prev(): ASTNode | null;
Returns:
ASTNode | null
The previous node, or null if the current node is not set or there is no previous value.