MCPcopy
hub / github.com/faker-js/faker / times

Function times

test/support/times.ts:8–10  ·  view source on GitHub ↗
(length: number)

Source from the content-addressed store, hash-verified

6 * @returns The sequence.
7 */
8export function times(length: number): number[] {
9 return Array.from({ length }, (_, i) => i + 1);
10}

Callers 15

vehicle.spec.tsFile · 0.90
system.spec.tsFile · 0.90
location.spec.tsFile · 0.90
commerce.spec.tsFile · 0.90
lorem.spec.tsFile · 0.90
person.spec.tsFile · 0.90
company.spec.tsFile · 0.90
database.spec.tsFile · 0.90
book.spec.tsFile · 0.90
animal.spec.tsFile · 0.90
color.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected