function testBreakpoint( width ) {
  var bp = {
    max:   width <= this.breakpoint,
    min:   width >= this.breakpoint,
    range: width >= this.breakpoint[0] && width <= this.breakpoint[1]
  };
  return bp[this.type];
}
/**
 * @param {number} width The viewport width to test.
 * @returns {boolean}
 *   Whether viewport width is within the expected breakpoint.
 */
@param {number} width The viewport width to test.
@returns {boolean}
Whether viewport width is within the expected breakpoint.
@param { number } width The viewport width to test . @returns { boolean } Whether viewport width is within the expected breakpoint .
function testBreakpoint( width ) {
  var bp = {
    max:   width <= this.breakpoint,
    min:   width >= this.breakpoint,
    range: width >= this.breakpoint[0] && width <= this.breakpoint[1]
  };
  return bp[this.type];
}
function testBreakpoint ( width ) { var bp = { max : width <= this . breakpoint , min : width >= this . breakpoint , range : width >= this . breakpoint [ 0 ] && width <= this . breakpoint [ 1 ] } ; return bp [ this . type ] ; }
@param {number} width The viewport width to test.
@param { number } width The viewport width to test .