decrementer Namespace
Package: @esfx/fn
Functions
step(count, start)
Returns a function that produces a monotonically decreasing number value each time it is called.
Declaration
function step(count: number, start?: number): () => number;
Parameters
- count
- number
- start
- number
Returns
() => number