Skip to content

ReferenceArrayIO

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/tandem/blob/main/js/types/ReferenceArrayIO.ts for the most up-to-date information.

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.