Skip to content

Commit

Permalink
Update conditions.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
tvh-statsig authored Jan 22, 2024
1 parent 9e09c17 commit 94d7f25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/feature-gates/conditions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,11 @@ Example: Only show a feature on development builds

Usage: Specify the key in the custom object to fetch the value use on the left hand side of a comparison

Supported Operators: any of, none of
Supported Operators:
- string: any of, none of, str_contains_any, str_contains_none
- number: any of, none of, less than, greater than
- version: any of, none of, less than, greater than, less than or equal to, greater than or equal to
- date: before, after

Example: Only show a feature to user's who have turned on dark mode, as marked by the custom object having "darkmode": true.

Expand Down

0 comments on commit 94d7f25

Please sign in to comment.