- Preparing search index...
- The search index is not available
atomic-fns
- times(n: number, fn: ((index: number) => any)): Generator<any, void, unknown>
-
Parameters
-
n: number
-
fn: ((index: number) => any)
-
- (index: number): any
-
Returns any
Returns Generator<any, void, unknown>
Returns a generator that produces
fn(index)
for eachindex < n
.