export default function computeCountWithOperator({comparator, has, needs}) {
	// compute the result
	if (comparator === '$lte') {
		return has <= needs
	}
	else if (comparator === '$gte') {
		return has >= needs
	}
	else if (comparator === '$eq') {
		return has === needs
	}

	throw new TypeError(`computeModifier(): "${comparator}" must be one of $eq, $lte, or $gte.`)
}

@@ -112,16 +112,76 @@
 ator ===
+ '$eq') %7B%0A%09%09return has === needs%0A%09%7D%0A%09else if (comparator ===
  '$lte')
@@ -271,68 +271,8 @@
 s%0A%09%7D
-%0A%09else if (comparator === '$eq') %7B%0A%09%09return has === needs%0A%09%7D
 %0A%0A%09t

make $eq to the first branch in computeCountWIthOperator