Boolean Flags
Boolean flags are the simplest type of feature flag. They return either true or false, making them ideal for toggling features on or off.
When you create a boolean flag in FlagTGL, it defaults to false (off) in all environments. You can then enable it globally, or use targeting rules to enable it for specific users or a percentage of your audience.
enabled := client.BoolVariation("new-checkout-flow", user, false)
Boolean flags are the right choice when you need a simple on/off switch. If you need to serve different experiences beyond true/false, use Multivariate Flags instead.