Negates a boolean signal.
Useful for features that have no direct inverse helper, such as "devices without hover": not(hover()).
not(hover())
The boolean signal to invert.
A Signal<boolean> that is true when condition is false, and vice versa.
Signal<boolean>
true
condition
false
readonly isTouchLike = not(hover()); Copy
readonly isTouchLike = not(hover());
and and or.
Negates a boolean signal.
Useful for features that have no direct inverse helper, such as "devices without hover":
not(hover()).