rangeTo

operator fun rangeTo(upper: Breakpoint): Breakpoint.Range(source)

Declare a breakpoint range that applies between a lower-bound breakpoint (inclusive) and an upper-bound breakpoint (inclusive).

For example, styles declared with (SM .. MD) { ... } will appear for tablets through desktops but not for mobile devices nor wide screens.

Declaring a range with the same lower and upper bound is an error; use until (ZERO until SM) or rangeUntil (ZERO ..< SM) instead.