mumu 0.11.1

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-string-contains",
  "dataComponent": "string",
  "heading": {
    "title": "contains",
    "badges": ["String", "PARTIAL"]
  },
  "synopsis": "Checks if a string contains a substring. Returns Bool. Partial/placeholder usage supported.",
  "codeBlocks": [
    "extend(\"string\")\n\nsput( string:contains(\"lo\", \"hello\") )\n# => true\n\npartial = string:contains(_, \"abcdef\")\nsput( partial(\"bc\") )\n# => true"
  ],
  "notes": [
    "Arguments: substring (needle), string (haystack).",
    "Returns Bool(true/false).",
    "Partial and _ supported."
  ]
}