-
Notifications
You must be signed in to change notification settings - Fork 13
codefriar edited this page Oct 5, 2023
·
3 revisions
STATUS: ACTIVE
Convenience class for checking feature flags. This is purely Syntactic sugar.
Group FeatureFlag
Convenience method for checking if a feature is enabled.
Param | Description |
---|---|
featureName |
String feature name to check |
Type | Description |
---|---|
Boolean | True if the feature is enabled by any of the following: Universally enabled, or enabled for the current user based on permission set, custom permission or time. |
logical inverse of the isEnabled method.
Param | Description |
---|---|
featureName |
String feature name to check |
Type | Description |
---|---|
Boolean | Boolean, returns inverse of isEnabled. |
Law of diminishing returns here. This isn't tested, per-say. It's underlying FeatureFlag implementation is tested, however.
Param | Description |
---|---|
featureName |
String the feature name to check |
Type | Description |
---|---|
String | String the value stored in custom metadata for this feature flag. |