Skip to main content

Utilities

Public utilities module for Runner to use

Functions

IsEmpty

Utilities.IsEmpty(
tbl{any}--

Table to check

) → boolean--

Is it empty?

Checks if a table is empty

InitExists

Utilities.InitExists(
tbl{any},--

Table to check

argstring--

Argument to check with

) → boolean--

Does arg exist in tbl?

Checks if arg exists in tbl

Show raw api
{
    "functions": [
        {
            "name": "IsEmpty",
            "desc": "Checks if a table is empty",
            "params": [
                {
                    "name": "tbl",
                    "desc": "Table to check",
                    "lua_type": "{any}"
                }
            ],
            "returns": [
                {
                    "desc": "Is it empty?",
                    "lua_type": "boolean"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 19,
                "path": "src/shared/Runner/Utilities.luau"
            }
        },
        {
            "name": "InitExists",
            "desc": "Checks if arg exists in tbl",
            "params": [
                {
                    "name": "tbl",
                    "desc": "Table to check",
                    "lua_type": "{any}"
                },
                {
                    "name": "arg",
                    "desc": "Argument to check with",
                    "lua_type": "string"
                }
            ],
            "returns": [
                {
                    "desc": "Does arg exist in tbl?",
                    "lua_type": "boolean"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 37,
                "path": "src/shared/Runner/Utilities.luau"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "Utilities",
    "desc": "Public utilities module for Runner to use",
    "source": {
        "line": 8,
        "path": "src/shared/Runner/Utilities.luau"
    }
}