構文
getfflag(name: string): string | nil引数
| 名前 | 型 | 説明 |
|---|---|---|
name | string | Exact fast flag name to read. |
戻り値
| 名前 | 型 | 説明 |
|---|---|---|
flagValue | string | nil | String form of the flag value, or nil when the flag is missing or unsupported. |
説明
Reads a Roblox fast flag by exact name and returns its value as a string. Missing or unsupported flags return nil.
1 個のパラメータで呼び出します: name。引数表では必須値と動作を調整する値を確認できます。
flagValue (string | nil) を返します。戻り値表を使って成功値、nil 結果、回復可能なエラーを分けて扱ってください。
例
Read a Roblox fast flag by exact name. Known bool and int flags are returned as strings.
local value = getfflag("SomeFFlagName")
if value ~= nil then
print(value)
end