https://www.growthbook.io/ logo
h

hallowed-portugal-31753

08/03/2022, 4:31 AM
I hope this is my last question for today: Someone is expressing concern that:
Copy code
if feature("something").On || feature("another-thing").On {
  // do something
}
And if the something is On, then we don't evaluate another-thing at all, I thought we generally don't do ORs in experiments, and only ANDs (like in case you have an experiment inside an experiment) And if it's really OR, then we'd have to evaluate those outside of the conditional and instead save them into a variable, But has anyone ever seen OR in an experiment
f

fresh-football-47124

08/03/2022, 4:32 AM
I've not seen that use case
why would you need to do this?
h

hallowed-portugal-31753

08/03/2022, 4:33 AM
thanks 🙂 I thought so too, just wanted to confirm I'm not missing anything,
that'll be my question to them exactly 🙂
f

fresh-football-47124

08/03/2022, 4:33 AM
heh