Home Manual Reference Source Test Repository

src/0-legacy/compare/ge.js



/**
 * Wrapper for a comparison operator that returns true iff
 * _a_ is greater or equal to _b_.
 */

export const ge_t = function(cmp){
	return function (a, ai, aj, b, bi, bj) {
		return cmp(a, ai, aj, b, bi, bj) >= 0;
	};
};