{
"id": "fn-array-reverse",
"dataComponent": "array",
"heading": {
"title": "reverse",
"badges": ["Array"]
},
"synopsis": "Returns a new array with elements in reverse order.",
"codeBlocks": [
"extend(\"array\")\n\nsput( array:reverse([1,2,3]) )\n# => [3,2,1]"
],
"notes": [
"Accepts int[], float[], bool[], str[]."
]
}