필드 · Multiple

필드 · Multiple · helpers.multiple. 생성 메서드 · 예시

helpers.multiple

생성 설정

데이터를 생성하면 결과가 표시됩니다.

매개변수 & 예시

Generates an array containing values returned by the given method.

helpers.multiple(method: (v: unknown, index: number) => TResult, options?: { count? })
method
The method used to generate the values. The method will be called with (_, index), to allow using the index in the generated value e.g. as id.
options
The optional options object.
options.count
The number or range of elements to generate. Defaults to 3.

예시

["IhGd","JvsR","hiPM"]

테스트 환경에서 합성 데이터를 사용하세요.

관련 생성기

시나리오 탐색