devsite/node_modules/semver/functions/lte.js

4 lines
113 B
JavaScript
Raw Normal View History

2024-07-08 01:49:38 +00:00
const compare = require('./compare')
const lte = (a, b, loose) => compare(a, b, loose) <= 0
module.exports = lte