Syntax
getfflagtype(name: string): "string" | "bool" | "int" | "unknown"Argumente
| Name | Typ | Beschreibung |
|---|---|---|
name | string | Exact fast flag name to inspect. |
Rückgaben
| Name | Typ | Beschreibung |
|---|---|---|
flagType | "string" | "bool" | "int" | "unknown" | Detected flag type string. |
Beschreibung
Returns the detected type for a Roblox fast flag as "string", "bool", "int", or "unknown". Missing or unsupported flags return "unknown".
Rufe es mit 1 Parameter(n) auf: name. Die Argumenttabelle erklärt, welche Werte erforderlich sind und welche nur das Verhalten verfeinern.
Es gibt flagType ("string" | "bool" | "int" | "unknown") zurück. Nutze die Rückgabetabelle, um erfolgreiche Werte von nil-Ergebnissen und behandelbaren Fehlern zu trennen.
Beispiel
Read the detected type for a Roblox fast flag by exact name.
local flagType = getfflagtype("SomeFFlagName")
if flagType ~= "unknown" then
print(flagType)
end