isEnabled
Returns true when the given formula evaluates positively, false when it doesn't.
The formula can be probabilistic, where it is true for only a subset of environments.
Parameters
formula
the formula to parse.
env
the environment map. Accepted values are booleans, numbers, strings, or lists of them.
flagId
the flag id, paired with the environment's rollout id, used to determine a stable key for partial frequencies, ensuring that the formula is evaluated consistently between calls and across environments.