isBetween

fun isBetween(smallBreakpoint: BootstrapBreakpoint, largeBreakpoint: BootstrapBreakpoint): Boolean(source)

Checks if the current breakpoint is between two given breakpoints (inclusive).

Return

true if the current breakpoint is within the range, false otherwise.

Parameters

smallBreakpoint

The lower bound of the range.

largeBreakpoint

The upper bound of the range.