odin-js-fundamentals-part-5/node_modules/semver/functions/gte.js

4 lines
113 B
JavaScript

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