{
"id": "fn-array-repeat",
"dataComponent": "array",
"heading": {
"title": "repeat",
"badges": ["Array", "PARTIAL"]
},
"synopsis": "Alias for array:fill. Returns a new array with the given value repeated count times. Partial and placeholder usage supported.",
"codeBlocks": [
"extend(\"array\")\n\nsput(array:repeat(\"x\", 2))\n# => [\"x\",\"x\"]"
],
"notes": [
"Same as array:fill.",
"Partial and placeholder usage supported."
]
}