v1.0.0-beta.0
Last updated
Last updated
Generic type variable Step
of default value 1 and the step
parameter in the constructor that uses it.
The stepByStep()
method that performs a callback function with the ability to decide when to move to the next step of the range.
The getRange()
method to return a range of numbers from minimum to maximum with the step.
The forEachStep()
method to perform the specified action for each step in the range of an array.
The get
accessor range
that obtains the range of an array
number from the minimum to the maximum with the step of a specified Range
object.
The get
accessor step
that obtains the step of a specified Range
object.
The #step
private property of the generic type variable Step
that indicates the range step.
The step
parameter to the static create()
method of generic type variable Step.