{
    "type": "string",
    "definitions": {
        "remove": {
            "id": "remove",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "value",
                    "type": "string"
                }
            ],
            "returns": [
                "string"
            ]
        },
        "hasIndex": {
            "id": "hasIndex",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "index",
                    "type": "number"
                }
            ],
            "returnVariations": [
                0,
                1
            ],
            "returns": [
                "number"
            ]
        },
        "insert": {
            "id": "insert",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "index",
                    "type": "number"
                },
                {
                    "label": "value",
                    "type": "string"
                }
            ],
            "returns": [
                "string"
            ]
        },
        "indexOf": {
            "id": "indexOf",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "value",
                    "type": "string"
                },
                {
                    "label": "offset",
                    "type": "number",
                    "opt": true
                }
            ],
            "returns": [
                "number",
                "null"
            ]
        },
        "lastIndexOf": {
            "id": "lastIndexOf",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "searchStr",
                    "type": "string"
                }
            ],
            "returns": [
                "number"
            ]
        },
        "split": {
            "id": "split",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "pattern",
                    "type": "string"
                },
                {
                    "label": "regexOptions",
                    "type": "string",
                    "default": {
                        "type": "string",
                        "value": "none"
                    }
                }
            ],
            "returns": [
                {
                    "type": "list",
                    "valueType": "string"
                },
                "null"
            ]
        },
        "replace": {
            "id": "replace_regex",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "pattern",
                    "type": "string"
                },
                {
                    "label": "newValue",
                    "type": "string"
                },
                {
                    "label": "regexOptions",
                    "type": "string",
                    "default": {
                        "type": "string",
                        "value": "none"
                    }
                }
            ],
            "returns": [
                "string"
            ]
        },
        "trim": {
            "id": "trim",
            "type": "function",
            "tags": [
                "method"
            ],
            "returns": [
                "string"
            ]
        },
        "indexes": {
            "id": "indexes",
            "type": "function",
            "tags": [
                "method"
            ],
            "returns": [
                {
                    "type": "list",
                    "valueType": "number"
                }
            ]
        },
        "code": {
            "id": "code",
            "type": "function",
            "tags": [
                "method"
            ],
            "returns": [
                "number"
            ]
        },
        "len": {
            "id": "len",
            "type": "function",
            "tags": [
                "method"
            ],
            "returns": [
                "number"
            ]
        },
        "lower": {
            "id": "lower",
            "type": "function",
            "tags": [
                "method"
            ],
            "returns": [
                "string"
            ]
        },
        "upper": {
            "id": "upper",
            "type": "function",
            "tags": [
                "method"
            ],
            "returns": [
                "string"
            ]
        },
        "val": {
            "id": "val",
            "type": "function",
            "tags": [
                "method"
            ],
            "returns": [
                "number"
            ]
        },
        "values": {
            "id": "values",
            "type": "function",
            "tags": [
                "method"
            ],
            "returns": [
                {
                    "type": "list",
                    "valueType": "string"
                }
            ]
        },
        "to_int": {
            "id": "to_int",
            "type": "function",
            "tags": [
                "method"
            ],
            "returns": [
                "string",
                "number"
            ]
        },
        "is_match": {
            "id": "is_match",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "pattern",
                    "type": "string"
                },
                {
                    "label": "regexOptions",
                    "type": "string",
                    "default": {
                        "type": "string",
                        "value": "none"
                    }
                }
            ],
            "returnVariations": [
                1,
                0
            ],
            "returns": [
                "number"
            ]
        },
        "matches": {
            "id": "matches",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "pattern",
                    "type": "string"
                },
                {
                    "label": "regexOptions",
                    "type": "string",
                    "default": {
                        "type": "string",
                        "value": "none"
                    }
                }
            ],
            "returns": [
                {
                    "type": "map",
                    "keyType": "number",
                    "valueType": "string"
                }
            ]
        }
    }
}
