code: function stopClipWithData(playClipData) {
    const id = playClipData.intervalId;
  
    if (typeof id !== 'undefined') {
      playClipData.intervalId = undefined;
      if (playClipData.usingFrameTimeVector) {
        clearTimeout(id);
      } else {
        clearInterval(id);
      }
    }
  }
docs: [private] Performs the heavy lifting of stopping an ongoing animation.
  @param {Object} playClipData The data from playClip that needs to be stopped.
  @returns {void}