Miscellaneous

getfflagtype

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

Syntax

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

Arguments

NameTypeDescription
namestringExact fast flag name to inspect.

Returns

NameTypeDescription
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".

Call it with 1 parameter(s): name. The argument table explains which values are required and which ones only refine the behavior.

It returns flagType ("string" | "bool" | "int" | "unknown"). Use the returns table to separate successful values from nil results and recoverable errors.

Example

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

local flagType = getfflagtype("SomeFFlagName")

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