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"]

请在测试环境使用合成数据。

相关生成器

探索场景模板