rangeInclusive¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/dot/blob/main/js/util/rangeInclusive.ts for the most up-to-date information.
Overview¶
Returns an array of integers from A to B (inclusive), e.g. rangeInclusive( 4, 7 ) maps to [ 4, 5, 6, 7 ].
@author Jonathan Olson <jonathan.olson@colorado.edu>
Source Code¶
See the source for rangeInclusive.ts in the dot repository.