4 lines
113 B
JavaScript
Raw Normal View History

2023-07-24 10:36:46 +08:00
const compare = require('./compare')
const lte = (a, b, loose) => compare(a, b, loose) <= 0
module.exports = lte