InfiniteNumberIO¶
Overview¶
PhET-iO Type for JS's built-in number type, but adds explicit support for positive and negative infinity. Typical use cases should use NumberIO, but if you have a case that must support infinities, please use this instead.
@author Sam Reid (PhET Interactive Simulations) @author Michael Kauzmann (PhET Interactive Simulations)
Type InfiniteNumberStateObject¶
number | "POSITIVE_INFINITY" | "NEGATIVE_INFINITY"
Source Code¶
See the source for InfiniteNumberIO.ts in the tandem repository.