# Type Alias: FeaturePredicate

```
type FeaturePredicate = boolean | (context) => boolean;
```

The feature predicate is used to enable or disable a feature based on the boolean or the return value of the function.

---



[Source](https:/img.ly/docs/cesdk/vue/api/cesdk-js/type-aliases/featureid)