Skip to main content

Feature Flag Concepts

Feature flags (also called feature toggles) let you control the availability of features in your application without deploying new code. FlagTGL supports two types of flags: boolean flags that toggle features on or off, and multivariate flags that return one of several string values.

Flags are evaluated per-environment, meaning you can enable a feature in staging while keeping it disabled in production. Combined with targeting rules, flags give you fine-grained control over which users see which features.

note

See Boolean Flags and Multivariate Flags for detailed usage of each type.