Search Docs
Loading...
Skip to content

Type Alias: FeatureRule

type FeatureRule =
| ((context) => boolean)
| FeatureRuleActionId
| string & object;

A rule: a function of the rule context that returns a boolean synchronously, or the id of an action registered with cesdk.actions that does.