View source: R/feature_flag-percentage.R
create_percentage_feature_flag | R Documentation |
Creates an instance of a percentage feature flag with a specified chance of being enabled
create_percentage_feature_flag(percentage)
percentage |
chance of being enabled e.g. 1 for always being enabled |
feature flag object of the percentage type
{
always_enabled_flag <- create_percentage_feature_flag(percentage = 1)
randomly_enabled_flag <- create_percentage_feature_flag(percentage = 0.5)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.