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 parameter: name. يوضح جدول arguments القيم المطلوبة والقيم التي تضبط السلوك.

يعيد flagType ("string" | "bool" | "int" | "unknown"). استخدم جدول returns للفصل بين قيم النجاح ونتائج nil والأخطاء القابلة للمعالجة.

مثال

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

local flagType = getfflagtype("SomeFFlagName")

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