lib/expression.js
function isWildcardRange(range, constraints) {
  if (range instanceof Array && !range.length) {
    return false;
  }

  if (constraints.length !== 2) {
    return false;
  }

  return range.length === (constraints[1] - (constraints[0] < 1 ? - 1 : 0));
}
function isWildcardRange(range, constraints) {
  if (range instanceof Array && !range.length) {
    return false;
  }

  if (constraints.length !== 2) {
    return false;
  }

  return range.length === (constraints[1] - (constraints[0] < 1 ? - 1 : 0));
}
function isWildcardRange ( range , constraints ) { if ( range instanceof Array && ! range . length ) { return false ; } if ( constraints . length !== 2 ) { return false ; } return range . length === ( constraints [ 1 ] - ( constraints [ 0 ] < 1 ? - 1 : 0 ) ) ; }
Detect if input range fully matches constraint bounds
@param {Array} range Input range
@param {Array} constraints Input constraints
@returns {Boolean}
@private
Detect if input range fully matches constraint bounds