ReferenceArrayIO¶
Overview¶
PhET-iO Type for using that same reference of the JS's built-in Array type. Unlike ArrayIO, ReferenceArrayIO will use applyState
to preserve the exact same Array reference, just mutating its values.
@author Sam Reid (PhET Interactive Simulations) @author Michael Kauzmann (PhET Interactive Simulations)
Source Code¶
See the source for ReferenceArrayIO.ts in the tandem repository.