code: function StateMachineInstance(name) {
          if (name === void 0) { name = "unnamed"; }
          this.name = name;
          /** The last known [[Vertex]] of any [[Region]] within the state machine instance. */
          /** @internal */ this.current = {};
          /** The last known [[State]] of any [[Region]] within the state machine instance. */
          /** @internal */ this.last = {};
          /** Indicates that the [[StateMachine]] instance reached was terminated by reaching a [[Terminate]] [[PseudoState]]. */
          this.isTerminated = false;
          this.name = name;
      }
docs: Creates a new instance of the [[StateMachineInstance]] class.
  @param name The optional name of the [[StateMachineInstance]].