Miscellaneous

getfflagtype

Returns the detected type for a Roblox fast flag as "string", "bool", "int", or "unknown".

Sintaxe

getfflagtype(name: string): "string" | "bool" | "int" | "unknown"

Argumentos

NomeTipoDescrição
namestringExact fast flag name to inspect.

Retornos

NomeTipoDescriçã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