EnvironmentOverviewUpdated · 0.744
getfflag
Represents inspection of runtime feature flags.
Details#
Reads a named runtime flag. Names and accepted types depend on the current runtime; an absent or unsupported flag may raise an error, so handle the result with pcall.
Examples#
Example
local ok, value = pcall(getfflag, "DocsNonexistentFlag")
print(ok, value)