Skip to main content

Transformation functions

repeatedly

Commentary

added in 0.0.18

Generates an array of n elements of target.


Examples

Generating arrays

{
"_gen": "repeatedly",
"n": {
"_gen": "uniformDistribution",
"bounds": [
0,
5
]
},
"target": {
"_gen": "string",
"expr": "#{File.fileName}"
}
}
[
[
"vel_consequatur/laboriosam.odt",
"ut_error/labore.numbers",
"aliquid_iure/reiciendis.bmp"
],
[
"quis_rerum/eaque.tiff"
],
[
"saepe_sunt/dolor.doc"
],
[
"doloremque_saepe/labore.odp",
"ipsum_ut/odit.mov",
"consectetur_rerum/aliquid.docx"
],
[
"sit_expedita/exercitationem.webm",
"repudiandae_voluptatem/natus.html",
"soluta_quidem/provident.js",
"rerum_est/cupiditate.html"
]
]

Specification

JSON schema

{
"type": "object",
"properties": {},
"required": [
"n",
"target"
]
}