ngx-mq
    Preparing search index...

    Function and

    • Combines boolean signals with logical AND.

      Composition happens at the signal level, so the underlying media-query listeners stay shared and are still cleaned up automatically.

      Parameters

      • ...conditions: Signal<boolean>[]

        Boolean signals to combine. An empty call returns a signal that is always true (vacuous truth).

      Returns Signal<boolean>

      A Signal<boolean> that is true only when every condition is true.

      readonly isLandscapeDesktop = and(up('lg'), orientation('landscape'), hover());
      

      or and not.