FunctionsdiffIncomingStatediffIncomingState CallablediffIncomingState(root: ChaynsHistoryLayer, raw: unknown): { changedLayerIds: Set<string> }Like applyStateToTree but does NOT mutate the tree. Returns layer ids that WOULD change if the state were applied.Parametersroot: ChaynsHistoryLayerraw: unknownReturns { changedLayerIds: Set<string> }changedLayerIds: Set<string>
Like
applyStateToTreebut does NOT mutate the tree. Returns layer ids that WOULD change if the state were applied.