odin-js-fundamentals-part-4/node_modules/semver/functions/gt.js

4 lines
110 B
JavaScript

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