4 lines
116 B
JavaScript
4 lines
116 B
JavaScript
const compare = require('./compare');
|
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
module.exports = lte;
|