mumu 0.10.0

Lava Mumu is a language for those in the now and that know
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  "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."
  ]
}