Miscellaneous

getfflagtype

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

Syntaxe

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

Arguments

NomTypeDescription
namestringExact fast flag name to inspect.

Retours

NomTypeDescription
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