Skip to main content

CountdownTextUtils

Functions

formatCountdown

CountdownTextUtils.formatCountdown(
secondsnumber,
whenAtZeroTextstring?
) → string

Formats countdown text

Show raw api
{
    "functions": [
        {
            "name": "formatCountdown",
            "desc": "Formats countdown text",
            "params": [
                {
                    "name": "seconds",
                    "desc": "",
                    "lua_type": "number"
                },
                {
                    "name": "whenAtZeroText",
                    "desc": "",
                    "lua_type": "string?"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "string"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 14,
                "path": "src/countdowntext/src/Shared/CountdownTextUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "CountdownTextUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/countdowntext/src/Shared/CountdownTextUtils.lua"
    }
}