InternalInternal recursive method to evaluate a complex condition.
The feature condition or group of conditions
Detailed condition evaluation result
InternalSpecialized evaluation for the feature playground environment.
Optionally cleans up local cache before evaluating.
Playground options
Evaluation result with details
Provides a full evaluation of the feature with detailed reasoning.
Use this when you need to know why a feature is enabled or disabled, such as for debugging or in the feature flag playground.
Detailed evaluation result including reason, condition match status, etc.
InternalReturns the device-level enabled status if set in local cache.
True if enabled, false if disabled, null if not in cache
InternalChecks if the feature data came from the global workspace as a fallback.
True if global data
InternalEvaluates the rollout strategy specifically.
Whether to force 100% rollout (used when conditions are met but overflow is present)
Evaluation result with enabled status and reason
InternalDetermines if the current rollout percentage configuration is invalid (over 100%).
True if percentage exceeds 100
Updates the device context for the feature evaluation.
Partial device context to update
Updates the user context for the feature evaluation.
Partial user context to update
Represents a single feature flag and provides evaluation logic based on context.
The Feature class is the core component for determining if a feature is enabled for a specific user or device, considering rollout strategies, conditions, and release dates.
Example