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