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
{
  "id": "fn-array-partition",
  "dataComponent": "array",
  "heading": {
    "title": "partition",
    "badges": ["Array", "PARTIAL"]
  },
  "synopsis": "Splits array into two arrays based on predicate result.",
  "codeBlocks": [
    "extend(\"array\")\n\nparts = array:partition(x => x % 2 == 0, [1,2,3,4])\nsput(parts[0]) # => [2,4]\nsput(parts[1]) # => [1,3]"
  ],
  "notes": [
    "Returns [passed, failed]. Supports partial usage."
  ]
}