UNPKG
aureooms-js-integer
Version:
latest (1.0.0)
1.0.0
0.3.2
0.3.1
0.3.0
integer code bricks for JavaScript
aureooms.github.io/js-integer
aureooms/js-integer
aureooms-js-integer
/
src
/
0-legacy
/
compare
/
lt.js
13 lines
(9 loc)
•
211 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/** * Wrapper for a comparison operator that returns true iff * _a_ is less than _b_. */
export
function
lt_t
(
cmp
){
return
function
(
a, ai, aj, b, bi, bj
) {
return
cmp
(a, ai, aj, b, bi, bj) <
0
; }; }