forEachStep()
Performs the specified action for each step in the maximum range of an `Array`
Range.prototype.forEachStep()
public forEachStep(
forEachStep: (value: number, step: number, range: readonly number[]) => void
): this {
this.range.forEach(forEachStep);
return this;
}Parameters
forEachStep: (value:number, step:number, range: readonlynumber[]) => void
Return type
this
Returns
Example usage
Maximum range
Last updated