Syntaxe
getfflagtype(name: string): "string" | "bool" | "int" | "unknown"Arguments
| Nom | Type | Description |
|---|---|---|
name | string | Exact fast flag name to inspect. |
Retours
| Nom | Type | Description |
|---|---|---|
flagType | "string" | "bool" | "int" | "unknown" | Detected flag type string. |
Description
Returns the detected type for a Roblox fast flag as "string", "bool", "int", or "unknown". Missing or unsupported flags return "unknown".
Appelle le avec 1 parametre(s): name. La table des arguments indique les valeurs requises et celles qui affinent le comportement.
Il renvoie flagType ("string" | "bool" | "int" | "unknown"). Utilise la table des retours pour separer les valeurs reussies, les resultats nil et les erreurs recuperables.
Exemple
Read the detected type for a Roblox fast flag by exact name.
local flagType = getfflagtype("SomeFFlagName")
if flagType ~= "unknown" then
print(flagType)
end