Sintaxe
getfflagtype(name: string): "string" | "bool" | "int" | "unknown"Argumentos
| Nome | Tipo | Descrição |
|---|---|---|
name | string | Exact fast flag name to inspect. |
Retornos
| Nome | Tipo | Descrição |
|---|---|---|
flagType | "string" | "bool" | "int" | "unknown" | Detected flag type string. |
Descrição
Returns the detected type for a Roblox fast flag as "string", "bool", "int", or "unknown". Missing or unsupported flags return "unknown".
Chame com 1 parametro(s): name. A tabela de argumentos explica quais valores sao obrigatorios e quais refinam o comportamento.
Retorna flagType ("string" | "bool" | "int" | "unknown"). Use a tabela de retornos para separar valores bem sucedidos, nil e erros recuperaveis.
Exemplo
Read the detected type for a Roblox fast flag by exact name.
local flagType = getfflagtype("SomeFFlagName")
if flagType ~= "unknown" then
print(flagType)
end