Combines boolean signals with logical OR.
Composition happens at the signal level, so the underlying media-query listeners stay shared and are still cleaned up automatically.
Boolean signals to combine. An empty call returns a signal that is always false.
false
A Signal<boolean> that is true when at least one condition is true.
Signal<boolean>
true
readonly prefersSimpleUi = or(down('md'), reducedMotion()); Copy
readonly prefersSimpleUi = or(down('md'), reducedMotion());
and and not.
Combines boolean signals with logical OR.
Composition happens at the signal level, so the underlying media-query listeners stay shared and are still cleaned up automatically.