Skip to main content

RbxAssetUtils

Functions

toRbxAssetId

RbxAssetUtils.toRbxAssetId(idstring? | number) → string?

Converts a string or number to a string for playback.

Show raw api
{
    "functions": [
        {
            "name": "toRbxAssetId",
            "desc": "Converts a string or number to a string for playback.",
            "params": [
                {
                    "name": "id",
                    "desc": "",
                    "lua_type": "string? | number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "string?"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 14,
                "path": "src/rbxasset/src/Shared/RbxAssetUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "RbxAssetUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/rbxasset/src/Shared/RbxAssetUtils.lua"
    }
}