UNPKG

aureooms-js-integer

Version:

integer code bricks for JavaScript

13 lines (9 loc) 219 B
/** * Wrapper for a comparison operator that returns true iff * _a_ is less or equal to _b_. */ export function le_t (cmp){ return function (a, ai, aj, b, bi, bj) { return cmp(a, ai, aj, b, bi, bj) <= 0; }; }