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-every",
  "dataComponent": "array",
  "heading": {
    "title": "every",
    "badges": ["Array", "PARTIAL"]
  },
  "synopsis": "Returns true if every element matches the predicate. Partial usage and placeholders supported.",
  "codeBlocks": [
    "extend(\"array\")\n\narray:every(x => x > 0, [1,2,3])\n// => true\n\nallEven = array:every(x => x % 2 == 0)\nallEven([2,4,6])\n// => true"
  ],
  "notes": [
    "Two arguments: (predicateFn, array).",
    "Returns Bool(true) if all match, else Bool(false).",
    "Partial/placeholder usage supported. Alias: array:all."
  ]
}