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
18
{
  "id": "fn-math-sign",
  "dataComponent": "math",
  "heading": {
    "title": "sign",
    "badges": [
      "Math",
      "JSMath"
    ]
  },
  "synopsis": "Returns the sign of a number",
  "codeBlocks": [
    "extend(\"math\")\n\nsput( math:sign(10) )\n# => 1\n\nsput( math:sign(-5) )\n# => -1\n\nsput( math:sign(0) )\n# => 0"
  ],
  "notes": [
    "-1 if negative, +1 if positive, 0 if zero"
  ]
}