# `AshBackendDrivenOptimisticUi.Effect.Where`
[🔗](https://github.com/Undeadlol1/ash_backend_driven_optimistic_ui/blob/v0.1.0/lib/ash_backend_driven_optimistic_ui/effect/where.ex#L1)

Applies the nested effects only when `condition` holds.

# `t`

```elixir
@type t() :: %AshBackendDrivenOptimisticUi.Effect.Where{
  __spark_metadata__: Spark.Dsl.Entity.spark_meta(),
  condition: term(),
  effects: [AshBackendDrivenOptimisticUi.Effect.t()]
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
