devsite/node_modules/semver/functions/lte.js
2024-07-07 18:49:38 -07:00

4 lines
113 B
JavaScript

const compare = require('./compare')
const lte = (a, b, loose) => compare(a, b, loose) <= 0
module.exports = lte