Miscellaneous

getfflagtype

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

Składnia

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

Argumenty

NazwaTypOpis
namestringExact fast flag name to inspect.

Zwroty

NazwaTypOpis
flagType"string" | "bool" | "int" | "unknown"Detected flag type string.

Opis

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

Wywolaj z 1 parametrami: name. Tabela argumentow wyjasnia wartosci wymagane i te, ktore doprecyzowuja zachowanie.

Zwraca flagType ("string" | "bool" | "int" | "unknown"). Uzyj tabeli zwrotow, aby oddzielic wartosci sukcesu, wyniki nil i bledy do obsluzenia.

Przykład

Read the detected type for a Roblox fast flag by exact name.

local flagType = getfflagtype("SomeFFlagName")

if flagType ~= "unknown" then
    print(flagType)
end