AbstractGet a flag value without type checking.
The key of the flag to evaluate.
OptionaldefaultValue: unknownOptional default value returned when evaluation fails.
Optionalcontext: FlagshipEvaluationContextOptional evaluation context for targeting rules.
Get a boolean flag value with full evaluation details.
The key of the flag to evaluate.
Default value returned when evaluation fails or the flag type does not match.
Optionalcontext: FlagshipEvaluationContextOptional evaluation context for targeting rules.
Get a boolean flag value.
The key of the flag to evaluate.
Default value returned when evaluation fails or the flag type does not match.
Optionalcontext: FlagshipEvaluationContextOptional evaluation context for targeting rules.
Get a number flag value with full evaluation details.
The key of the flag to evaluate.
Default value returned when evaluation fails or the flag type does not match.
Optionalcontext: FlagshipEvaluationContextOptional evaluation context for targeting rules.
Get a number flag value.
The key of the flag to evaluate.
Default value returned when evaluation fails or the flag type does not match.
Optionalcontext: FlagshipEvaluationContextOptional evaluation context for targeting rules.
Get an object flag value with full evaluation details.
The key of the flag to evaluate.
Default value returned when evaluation fails or the flag type does not match.
Optionalcontext: FlagshipEvaluationContextOptional evaluation context for targeting rules.
Get an object flag value.
The key of the flag to evaluate.
Default value returned when evaluation fails or the flag type does not match.
Optionalcontext: FlagshipEvaluationContextOptional evaluation context for targeting rules.
Get a string flag value with full evaluation details.
The key of the flag to evaluate.
Default value returned when evaluation fails or the flag type does not match.
Optionalcontext: FlagshipEvaluationContextOptional evaluation context for targeting rules.
Get a string flag value.
The key of the flag to evaluate.
Default value returned when evaluation fails or the flag type does not match.
Optionalcontext: FlagshipEvaluationContextOptional evaluation context for targeting rules.
Feature flags binding for evaluating feature flags from a Cloudflare Workers script.
Example