Miscellaneous

getfflagtype

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

構文

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

引数

名前説明
namestringExact fast flag name to inspect.

戻り値

名前説明
flagType"string" | "bool" | "int" | "unknown"Detected flag type string.

説明

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

1 個のパラメータで呼び出します: name。引数表では必須値と動作を調整する値を確認できます。

flagType ("string" | "bool" | "int" | "unknown") を返します。戻り値表を使って成功値、nil 結果、回復可能なエラーを分けて扱ってください。

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

local flagType = getfflagtype("SomeFFlagName")

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