ReferenceEnvironment

getfflagtype

Reports the kind of value a fast flag holds.

Syntax

getfflagtype(name: string) -> string

Parameters

ParameterTypeDescription
namestringThe fast flag's name, without a prefix.

Returns

TypeDescription
string"bool", "int" or "string".

Description

The kind comes from the flag's current text, as returned by getfflag: true and false are "bool", whole numbers are "int", anything else is "string". An unknown name raises the same error as getfflag.

Example

print(getfflagtype("TaskSchedulerTargetFps"))

These are Game executor contracts. Check build requirements and session lifetimes before using them.