mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-20 21:40:07 +08:00
4 lines
113 B
JavaScript
4 lines
113 B
JavaScript
const compare = require('./compare')
|
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0
|
|
module.exports = lte
|