Söz dizimi
getfflagtype(name: string): "string" | "bool" | "int" | "unknown"Argümanlar
| Ad | Tip | Açıklama |
|---|---|---|
name | string | Exact fast flag name to inspect. |
Dönüşler
| Ad | Tip | Açıklama |
|---|---|---|
flagType | "string" | "bool" | "int" | "unknown" | Detected flag type string. |
Açıklama
Returns the detected type for a Roblox fast flag as "string", "bool", "int", or "unknown". Missing or unsupported flags return "unknown".
1 parametre ile cagir: name. Arguman tablosu hangi degerlerin zorunlu oldugunu ve hangilerinin davranisi incelttigini aciklar.
flagType ("string" | "bool" | "int" | "unknown") dondurur. Basarili degerleri, nil sonuclari ve toparlanabilir hatalari ayirmak icin return tablosunu kullan.
Örnek
Read the detected type for a Roblox fast flag by exact name.
local flagType = getfflagtype("SomeFFlagName")
if flagType ~= "unknown" then
print(flagType)
end