Documentación de Real

Miscellaneous

getfflagtype

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

Sintaxis

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

Argumentos

NombreTipoDescripción
namestringExact fast flag name to inspect.

Retornos

NombreTipoDescripción
flagType"string" | "bool" | "int" | "unknown"Detected flag type string.

Descripción

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

Llamalo con 1 parametro(s): name. La tabla de argumentos explica que valores son obligatorios y cuales refinan el comportamiento.

Devuelve flagType ("string" | "bool" | "int" | "unknown"). Usa la tabla de retornos para separar valores correctos, resultados nil y errores recuperables.

Ejemplo

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

local flagType = getfflagtype("SomeFFlagName")

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