Track Is Dirty

Returns a boolean indicating whether the track has unsaved changes.

Syntax

function getTrackIsDirty(state) {
  return state.simulator.committedEngine !== state.simulator.lastSavedEngine;
}