{
"id": "fn-array-flatten_deep",
"dataComponent": "array",
"heading": {
"title": "flatten_deep",
"badges": ["Array"]
},
"synopsis": "Recursively flattens all levels of nested arrays into a single MixedArray.",
"codeBlocks": [
"extend(\"array\")\n\nnested = [1, [2, [3, 4]], 5]\nsput(array:flatten_deep(nested))\n// => [1,2,3,4,5]"
],
"notes": [
"Flattens any level of nested arrays.",
"If not nested, returns original array.",
"Always returns MixedArray."
]
}