historyField

The state field that stores undo/redo history. Can be used to check whether history is active in a given state (by checking state.field(historyField, false) != null) or to check undo/redo availability via undoDepth and redoDepth.